Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide line in chart while making selection in cyclic group

Hi All,

I have a line chart with 3 expressions, and I need to hide one among them when the cyclic group(Calendar) in that chart is other than Month.

Please help me with the solution.

Thanks

Saritha Xavier

1 Solution

Accepted Solutions
Not applicable
Author

Hi All,

i got the solution for this

=if(GetCurrentField(Cal) = 'Month Year_S', 1,0)

Thanks

View solution in original post

5 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Chart Properties -> Expression -> Click on the expression -> Select Conditional option and give below expression

=GetCurrentField(Calendar) = 'Month'

Note: Replace Calendar with the Group name

Month with the actual field name.

Hope this helps you.

Regards,

jagan.

Not applicable
Author

Hi All,

i got the solution for this

=if(GetCurrentField(Cal) = 'Month Year_S', 1,0)

Thanks

Kushal_Chawda

Please post the sample app

jagan
Luminary Alumni
Luminary Alumni

Hi Sarita,

No need of If() you can simply give like below

=GetCurrentField(Cal) = 'Month Year_S'


Hope it helps you.


Regards,

Jagan.

Not applicable
Author

Thanks Jagan,

Yes No need of if() , without if () also it is working fine.