Jump to content
We've recently updated our Privacy Statement, available here ×

Running total or cummulative sum in Jasper reports


peter.johnson

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Just create a variable and set Calculation to "Sum", Expression to the field that you want to sum, Initial Value Expression to "0", and Reset type to "Column".

If you create a group, you'll be able to set the Reset type to the group that you created.

FYR:

https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v71/defining-or-editing-variable-0

Link to comment
Share on other sites

I've seen that suggested before, but I am not seeing any way to create a variable from within an Ad Hoc view. The link attached was for Jaspersoft Studio, which is not what I am using. I am working with a version of Jasper Reports Server that is embedded within another application, Medidata Edge CTMS.

Link to comment
Share on other sites

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...