Condition with use of GroupHeaderBand Value

Stimulsoft Reports.PHP discussion
Post Reply
sara.nogueira
Posts: 10
Joined: Wed Jun 15, 2016 11:33 am

Condition with use of GroupHeaderBand Value

Post by sara.nogueira »

Hello,

i am trying to use this expression 'CountDistinct (GroupHeaderBand1,Equipamentos.mes)>1' to determine if a GroupFooterBand will be displayed or not. The expression works by itself, but not in the condition. I tried to put that expression in a variable and test the variable instead. It doesnt work either. I think its because the variable 'doesnt exist' by the time i am testing it. How can i work around this?

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Condition with use of GroupHeaderBand Value

Post by HighAley »

Hello.

Could you specify which our components you use? Flash or JavaScript?
Please, send us your report template with sample data that will help us to reproduce the issue.

Thank you.
sara.nogueira
Posts: 10
Joined: Wed Jun 15, 2016 11:33 am

Re: Condition with use of GroupHeaderBand Value

Post by sara.nogueira »

Hi,

I use the latest flash version.
About the sample data, i dont know how to give you that info.
About the report. I would like put the GroupFooterBand2 visible only if i have more then 1 element in the GroupHeaderBand1. I can know how many elements i have with the variable 'total_meses'.

Thanks
Attachments
Relatorio_copias_cliente.mrt
(54.55 KiB) Downloaded 284 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Condition with use of GroupHeaderBand Value

Post by HighAley »

Hello.

Sorry, we still can't reproduce the issue.
Please, send sample data for your report.

Thank you.
sara.nogueira
Posts: 10
Joined: Wed Jun 15, 2016 11:33 am

Re: Condition with use of GroupHeaderBand Value

Post by sara.nogueira »

I hope this is enough.

Thanks
Attachments
Relatorio_copias_cliente.mrt
(54.55 KiB) Downloaded 460 times
SampleData.csv
(863 Bytes) Downloaded 284 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Condition with use of GroupHeaderBand Value

Post by HighAley »

Hello.

Sorry, but we don't see where you use CountDistinct() function.
Which footer do you need to hide?
Could you describe your issue more detailed?

Thank you.
sara.nogueira
Posts: 10
Joined: Wed Jun 15, 2016 11:33 am

Re: Condition with use of GroupHeaderBand Value

Post by sara.nogueira »

Hi.

I'm probably doing something wrong!

What i want is to hide the GroupFooterBand2 (in red) if i only have one month in the GroupHeaderBand1 (in purple).
Attachments
Sem Título.png
Sem Título.png (55.27 KiB) Viewed 3176 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Condition with use of GroupHeaderBand Value

Post by HighAley »

Hello.

Sorry, we need additional time to prepare a sample for you.

Thank you.
Post Reply