Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

Changing color of Expressions

Hi all, 

I'm trying to highlight in a Bar Chart the selected Dimensions.

I'm using the following expression but it only works if only one dimension is selected. How to highlight several selections?

Thanks

if(GetFieldSelections(MyDimension)=MyDimension,Green(),Blue())

 

1 Solution

Accepted Solutions
Highlighted
Partner
Partner

hi try this one 

 

if(index(GetFieldSelections(myDimension),myDimension)>0, Green(),Blue())

View solution in original post

1 Reply
Highlighted
Partner
Partner

hi try this one 

 

if(index(GetFieldSelections(myDimension),myDimension)>0, Green(),Blue())

View solution in original post