Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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.