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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
tresB
Champion III
Champion III

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