I want to add a variable to column footer of my table. It is the sum of the column values. eg: total sales, if column name is sales.
But when i try it it says variable not found for some reason.
I have positioned the table in title band because if i put it in detail band the table repeats multiplied by the number of rows in the table.
5rows = 5pages with the same table.
Can someone please help me since im new to jasper and ireport.
I am using ireport 5.0.0
Thank you
Best Answer
Make sure you have this on your xml
and have this as your text field expression
Change the name to whatever you are using.