I am new to JasperReports and iReport designer. Now I have table in that I have a column salary . So I want to display the sum of all employees salary.
for that I took a table from pallet created dataset. It displays the table perfectly , in footer I want to display the sum of salary so I created a variable SalSum here is the properties of it,
class: java.math.BigDecimal
calculation: sum
ResetType:Report
Variable Exp: $F{salary}
The problem is , The sum of salary is not displaying and getting the discription as Variable not found:SalSum and The table also displays 3 times in report how to solve this please help me anyone.