Jump to content
Changes to the Jaspersoft community edition download ×

Calculate a total from a recursive subreport.


Recommended Posts

I have 2 reports where the "main" report have itself as a sub report to get a recursive effect. I use a "print when" expression to end the recursion and at that point I have the other report to print the actually data. This report have a variable "totalSum" that is being returned to the main report and everything works fine.

My problem is that I would like to calculate a grand total after the recursion. I've tried many combinations with extra variables, different calculation types and evaluation times but I can't get the grand total to sum up.


Any help will be greatly appreciated.


Regards abq

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...