Jump to content
Changes to the Jaspersoft community edition download ×

multiple groups on same level


csaadaam

Recommended Posts

Hi!

 

I'm trying to create a report with the following structure:

Group1 (CostAccountHead)

->Group2(CostAccountItem)

-->Group3.1(CostAccountValue)

-->Group3.2(VatDetails)

 

The CostAccountValue and VatDetails tables have the CostAccountItem in common, so i'd like to report them, grouped like this.

The problem is, i would like to list the CostAccountValue entries and then the VatDetails entries, like this:

 

Head1

Item1

Values:

value1

value2

 

VAT details

value1

value2

 

Item2

Values

...

VAT details

...

 

Head2

...

 

And so on. I am not able to put two groups after each other , only group in group.

I think two subreports are not the solution, b/c it then would be:

Head1

Item1

Values

Item2

Values

...

VAT

VAT

VAT

 

And so on. But, if i try to put them in one group, i think the outcome would be:

Head1

Item1

value1

VAT1

value2

VAT2

And that would be just bad.

 

Is there any solution? I've tried also in iReport and in the XML, not seeing the way out.

Should i just make two reports (or two subreports in one)? It would be very nice to see it the way i explained above.

 

Thanks

 

Link to comment
Share on other sites

  • Replies 3
  • 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...