Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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

Re: Color by expression

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

2 Replies

Re: Color by expression

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

Not applicable

Re: Color by expression

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

Community Browser