Jump to content
Changes to the Jaspersoft community edition download ×

adding together variables returned from multiple subreports


hondaman900

Recommended Posts

I have several subreports and I can return and display values from each subreport, but need to display a result that is the addition of the returned values in a single variable. My variable expression adding the individual variables is as follows:

$V{monetary_sub_sum}.add($V{personal_sub_sum}).add($V{invest_sub_sum}).add($V{real_sub_sum})[/code]

The problem is that this returns "null". No errors, just no result. Since the individual variables show the returned values and display them in the same band in my report as I want to show this cumulative value, I'm not sure where to go next to resolve this.

I'm using Jaspersoft Studio 6.6

Any suggestions?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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