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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional Expression on certain field selection

Hi all,

I have a set of expressions in a chart.

I want one of the expression to disapear whenever I make a selection (no matter what) on a certain field.

How can I do it?

Thanks,

Boris

1 Solution

Accepted Solutions
Not applicable
Author

Hi Boris,

One of the ways to achieve this, right click on the chart, go to Properties--Presentation tab, click on that particular expression which you want conditionally hidden in "columns" section, mark it conditional, then in the condtion you can use the following expression:

 

=GetSelectedCount([Fieldname])<=0

Hope this helps!

View solution in original post

2 Replies
Not applicable
Author

Hi,

For that expression in chart we have check conditional and write in that conditional box as =if(GetSelectedCount(<field>)<>1,true(),false())

Not applicable
Author

Hi Boris,

One of the ways to achieve this, right click on the chart, go to Properties--Presentation tab, click on that particular expression which you want conditionally hidden in "columns" section, mark it conditional, then in the condtion you can use the following expression:

 

=GetSelectedCount([Fieldname])<=0

Hope this helps!