Do a single column sum of values in BIRT

Moses Liao GZ picture Moses Liao GZ · Mar 23, 2013 · Viewed 14.2k times · Source

I have a problem here.

I am working on an invoice template using BIRT. I have a table column qty, unit price and amount (unit price * qty). At the table footer, I want to compute the total amount like how excel does its column sum of values. How do I go about doing this?

Answer

Pablo picture Pablo · Jun 4, 2014

In the table footer, add a Data. Then, in Data Binding, on Expression:

Total.sum(dataSetRow["yourRow"])