Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
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