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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Layout Conditional - GetselectedCount

I am trying to have a chart activate by a button right now. My button has selectinfield action for the field name Category, 'Supplies'. I want the chart to only show if Supplies is selected in current selections, which is what the button for.  I need to use GetSelectedCount(Category) > 0 and Category ='Office Supplies' somehow in the conditional.

2 Replies
Nicole-Smith

=GetFieldSelections(Category) = 'Office Supplies'

Anonymous
Not applicable
Author

if user can select more than 1 category you should use

substringcount(getfieldselections(Category),'Office Supplies')=1