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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional show

Hi all,

Need Help please.. !!!

I need to show an expression when any field is selected otherwise it should not show..

5 Replies
Anonymous
Not applicable
Author

put in condition show expression box

getselectedcount(field name)=1

Not applicable
Author

hi..

i dont have a specific field name. any field is selected then it should be shown other wise it should be hidden

Thanks

Michiel_QV_Fan
Specialist
Specialist

You need to have 2 parameters:

a. count the number of selections:

b. resolve a conditional show with that count:


In your conditional show:  1=if(count(GetCurrentSelections()) >=1, 1, 0)

Anonymous
Not applicable
Author

put in condition show expression box

getselectedcount(field1 name) =1 or getselectedcount(field2 name) =1...so on

gandalfgray
Specialist II
Specialist II

and you can simplify that to:

count(GetCurrentSelections())>=1

(no need for doing an "if" and compare with 1)

condtional2.PNG