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: 
prayner
Contributor III
Contributor III

Toggle selected field between 1, 0, and ALL values in button chart

Using a button chart, I tried using the Toggle Selection action to toggle a boolean field 'boolean_field' between 1, 0, and 'ALL' values. The idea is that I can use this button to cycle between 1, 0, and no field selection for this field.

I only got far as being able to cycle between 1 and ALL using the following set expression:

=if(GetSelectedCount(boolean_field)=0,1, 0)

Labels (1)
0 Replies