Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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