Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Color by expression

Hi guys,

I'm very new to Qliksense and i'm playing around with some data.

I've created a set analysis to only look at Man & Woman. (It's in dutch)

avg({$<Persoonskenmerken={'Man', 'Vrouw' }>}[Gemiddeld inkomen])

Now I want to color both "Man" and "Vrouw" by a different color, I've tried to use color by expression using:

if(Persoonskenmerken = 'Vrouw', Red())

But I can't create the second if statement without getting an error.

Could you help me out  .

Thanks!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Assuming you are using Persoonskenmerken as a dimension then maybe look at Assigning colors to master dimension values ‒ Qlik Sense

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Assuming you are using Persoonskenmerken as a dimension then maybe look at Assigning colors to master dimension values ‒ Qlik Sense

Not applicable
Author

Damn! I knew there was a simple solution to this, thanks a lot Bill .