Nested group with Two DataBand

Stimulsoft Reports.JS discussion
Post Reply
wprmdev
Posts: 15
Joined: Fri Jun 07, 2019 6:52 pm

Nested group with Two DataBand

Post by wprmdev »

Hello. I'm trying to create a report with Nested Groups using two data bands but I'm not successful.

What I want to do is:

GroupHeader1 (By user)
GroupHeader2 (By Completed)
DataBand1 (By User and completed)
GroupFooter1
DataBand2 (By User) // This doesn't work. Print after all data from DataBand1. And out of groups. And with all the data
GroupFooter2

I need DataBand2 to be print before GroupFooter2 and that the data was grouped by user.

Follow the attached template. Thanks in advance.
Attachments
report-nested-group-sample.mrt
(6.11 KiB) Downloaded 139 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Nested group with Two DataBand

Post by Lech Kulikowski »

Hello,

As a way, you can place a Panel with databand on the GroupFooter2.

Thank you.
Attachments
report-nested-group-sample_modified.mrt
(14.69 KiB) Downloaded 158 times
wprmdev
Posts: 15
Joined: Fri Jun 07, 2019 6:52 pm

Re: Nested group with Two DataBand

Post by wprmdev »

I had tried using the databand in a panel within GroupFooter2 but it didn't work (I used the same data source).

But I saw that the secret is to use a new data source and filter it from the original. Very interesting.

Thank you for your help. I'm very grateful. :3
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Nested group with Two DataBand

Post by Lech Kulikowski »

Hello,

You are welcome.
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Nested group with Two DataBand

Post by quocp »

Hi Lech,

I currently get the same issue.
I have a look at your report "report-nested-group-sample_modified.mrt" , the Panel with databand on the GroupFooter2 display the same data for all UserId, while it should be displayed the data for the related userId.

Could you pls help to look on it again ?

Thank you
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Nested group with Two DataBand

Post by Lech Kulikowski »

Hello,

Please clarify which product and version are you use?

Thank you.
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Nested group with Two DataBand

Post by quocp »

Hi Lech,

I opened your file with Stimulsoft Designer V2023.2.7.
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Nested group with Two DataBand

Post by Lech Kulikowski »

Hello,

Please try to set the MultipleInitialization=true property for the DataBand.

Thank you.
quocp
Posts: 14
Joined: Sun Jul 23, 2023 11:08 pm

Re: Nested group with Two DataBand

Post by quocp »

Yeah, It works.

Thanks Lech.
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Nested group with Two DataBand

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply