Calculate total amount in Datagrid in a document template

Hello,   I am created a document template for invoices. When added a datagrid to show the activities and total prices, I can't figure out where and how to add the calculation of Total amount of all the rows in the data grid. Thanks in advance!
1 answers

Hi Ana,

You mean to sum the totals of the last colomn?

I think you can do this by creating a separate (non-persistent) entity and calculating the total amount of all the rows up-front in a microflow and then adding it to this page.

I don't think there is an easier solution for this than this way:)

Cheers, Mark