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

Total problem in Summary


jbo_master

Recommended Posts

hello,

 

i am not able to get the right total value in my summary page.

i have defined one group (vehicle type) in my report.

 

this is my data:

 

----------------

Cars

bmw 5$

mercedes 5$

lotus 5$

total: 15

----------------

bikes

honda 2$

yamaha 2$

suzuki 2$

total: 6

----------------

 

if i make a total at the end of the report on the summary page, i get the wrong value - Total Price: 6$

instead of Total Price: 21$

 

anyone a good hint.

thanks in advance

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

One option is to create an additional "Top" group, which encompasses all others; and then have a variable;

 

Variable=$V{Total vehicles}

Calculation Type=Sum

Reset Type=Group

Reset Group=Top

Variable Expression=$F{number of vehicles}

 

then show the $V{total vehicles} in the footer band of the group Top.

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