Can i total a colum in a data set, to show the total in a box?

Hi All

I have a table (data set with 5 columns, one column is called cost, is it possible to total this column and show this total in a text box?

any help would be amazing, this has been driving me made for weeks now.

Picture1

Yes, this is possible by using some code.

You can use …

To get the table rows-data and generaate a function which would loop through all the row-data and sum all values inside of a specific COLUMN.

The function then would return the RESULT.