Monday, December 30, 2013

sum of columns in iReport , jasper reports

okay today i am working on jasper reports and tool to design jrxml file iReport.

So on this post i will help you to sum up all the integers of the columns.

first of all you have to fetch data from datasource by writing query.

now yo have a column that you want to sum .

now yo need to create a variable . for that right click on variable. as in following image.
name the variable as SUM . now set following poperties to the SUM. 
now drag the variable SUM to the page footer band. and you will see the sum .

hope this helps


1 comment: