Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Sammy
New 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

Re: Changing color of Expressions

hi try this one 

 

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

1 Reply
Highlighted
Partner
Partner

Re: Changing color of Expressions

hi try this one 

 

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