Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
skychris
Contributor II
Contributor II

one GetSelectedCount statement for all dimensions

Hi Guru,

currently I am using

=GetSelectedCount([Field1]) > 0 or GetSelectedCount([Field2]) > 0 ....................................................GetSelectedCount([Field10]) > 0 

to blank off the table in the QS hub,  until when user do a QS global search or click on the filter fields

 

Is there a statement to indicate all fields in the master items

 

thank you

 

 

1 Solution

Accepted Solutions
skychris
Contributor II
Contributor II
Author

Hi Tresesco,  
I try 

if( Len(GetCurrentSelections())>0, 1, 0)    and it works,  thank you so much

View solution in original post

2 Replies
tresesco
MVP
MVP

You could try like:

if( Len(GetCurrentSelections())>0, ....

skychris
Contributor II
Contributor II
Author

Hi Tresesco,  
I try 

if( Len(GetCurrentSelections())>0, 1, 0)    and it works,  thank you so much