Subsubtotal on a jasperreports

0

Hi, Im newbie on jasper reports and I need some help. 

I have a report with subtotals.... But I need to insert a subtotal line, and that subtotal would be the subtotal of  first subtotal plus second subtotal .. Sorry If I can't explain in a clearly way. English is not my native language.

What I need is this ...

  A B C
XXX 10 20 30
Subtotal 1 10 20 30
YYYY 15 40 35
Subtotal 2 15 40 35
Subtotal 1 + 2 25 60 65
       

But I need to do this just for first and second subtotals ... Is there a way to do this?

Thanks in advance for any help.

riassuncao's picture
Joined: Jul 3 2017 - 10:49am
Last seen: 10 months 2 weeks ago

1 Answer:

0

Create a variable to hold the subtotal amount and in the group footer band for the 2nd subtotal, print that variable out under the 2nd subtotal.

hozawa's picture
45149
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 month 1 week ago
Feedback