I have a variable datatype set up in the group footer band that generates a subtotal for the counts in each group in my report. Works great. I would like a grand total to g
You can use two variables with different resetType
- for calculating sum in group (with resetType="Group" resetGroup="groupName" calculation="Sum"
properties) and for calculating total sum for whole report (with resetType="Report" calculation="Sum"
properties).
The sample (jrxml
file):
18 ORDER BY POSITIONNO]]>
The result will be: