To calculate the sum in each group in iReport, just do as shown in previous post Grouping in iReport. Now add in query, another field of which you want to take out the sum. For example see in figure below.
More... Now create a new variable named SUM as shown in figure.
Now select and write the fields as shown in figure for variable SUM.
Now arrange all the fields as shown in figure and run the file.
Simple and fully understanding.
ReplyDeleteThanks you so much
Great!
ReplyDeleteThanks