Condtional Group footer field based number of records
Condtional Group footer field based number of records
Hi Guys,
Under a group footer band I have sub total which could be multiple records or 1.
If I have 1 record I need to disable the field against the sub total that says: Sub total for PO: 12345
Show that field if number of records > 1
I need to find out the number of records per group.
How that can be done?
Thanks,
Doron
Under a group footer band I have sub total which could be multiple records or 1.
If I have 1 record I need to disable the field against the sub total that says: Sub total for PO: 12345
Show that field if number of records > 1
I need to find out the number of records per group.
How that can be done?
Thanks,
Doron
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condtional Group footer field based number of records
Hello,
You can set the Enabled property with the following expression:
Count(GroupHeaderBand1) != 1
Thank you.
You can set the Enabled property with the following expression:
Count(GroupHeaderBand1) != 1
Thank you.
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condtional Group footer field based number of records
Hello,
You are welcome.
You are welcome.
Re: Condtional Group footer field based number of records
Hi Lech,
Another thing I need to clarify in this regards.
How do I remove the gap for the sub total when there is only 1 record in the group?
Thanks,
Doron
Another thing I need to clarify in this regards.
How do I remove the gap for the sub total when there is only 1 record in the group?
Thanks,
Doron
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condtional Group footer field based number of records
Hello,
Without a report template, it isn't easy to say.
Thank you.
Without a report template, it isn't easy to say.
Thank you.
Re: Condtional Group footer field based number of records
Hello,
Maybe you can improve upon that.
For instant in another report engine i could cover that area with a conditional object.
Which I can enter some conditions. It was cumbersome but did the job.
I am not using for now a template.
Thanks,
Doron
Maybe you can improve upon that.
For instant in another report engine i could cover that area with a conditional object.
Which I can enter some conditions. It was cumbersome but did the job.
I am not using for now a template.
Thanks,
Doron
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Condtional Group footer field based number of records
Hello,
Depending on the structure, you can use the CanShrink property or the Enabled property for the Panel component.
Thank you.
Depending on the structure, you can use the CanShrink property or the Enabled property for the Panel component.
Thank you.
Re: Condtional Group footer field based number of records
Hi Lech,
The CanShrink did the job and thanks for that.
1. In sub total I need to provide the number of transactions per sub total of the group.
I created a variable named: Count_Recs_for_Grp and added expression like this: Count(GroupHeaderBand1)
2.
It does not give me the right number, and instead of 3 records form one sub total it gives me like 83. The expression itself I use in the Enabled property expression: Count(GroupHeaderBand1) != 1
In the attached image you can see where the expression located, where the red arrow pointing to it.
I showed also sample sub total in the second image.
This is expression near the red arrow is: Total {Count_Recs_for_Grp} Transactions for {EOY_Rollover.GroupName}: {EOY_Rollover.RepGroup}
How can I get the specific number of records for any sub total? I skip 1 record.
Thanks,
Doron
The CanShrink did the job and thanks for that.
1. In sub total I need to provide the number of transactions per sub total of the group.
I created a variable named: Count_Recs_for_Grp and added expression like this: Count(GroupHeaderBand1)
2.
It does not give me the right number, and instead of 3 records form one sub total it gives me like 83. The expression itself I use in the Enabled property expression: Count(GroupHeaderBand1) != 1
In the attached image you can see where the expression located, where the red arrow pointing to it.
I showed also sample sub total in the second image.
This is expression near the red arrow is: Total {Count_Recs_for_Grp} Transactions for {EOY_Rollover.GroupName}: {EOY_Rollover.RepGroup}
How can I get the specific number of records for any sub total? I skip 1 record.
Thanks,
Doron
- Attachments
-
- Number_of_Trans2.jpg (46.9 KiB) Not viewed yet
-
- Number_of_Trans.jpg (414.92 KiB) Not viewed yet