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?
In the table footer, add a Data. Then, in Data Binding, on Expression:
Total.sum(dataSetRow["yourRow"])
Firstly, Insert a Data element in a grid from a palete where you want the sum. Then right click on that data element in your report and click on 'Change data Column' Select Dataset which have columns 'qty' and 'unit cost' etc. then click on Add Aggregation in this select datatype float and function sum and add expression in which set datarow(name of column) of which you want sum.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With