Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Highlighted
khaycock
Contributor

Changing Point Colour

Is it possible to change the colour of a point depending on a field?

I wanted to the dot to be Blue if Type=Dealer and Red if Type=Distributor. Is that possible?

Labels (1)
1 Solution

Accepted Solutions

Re: Changing Point Colour

Use this as color expression by Measure

If(Type='Dealer', Blue(), If(Type='Distributor', Red()))

Or

Pick(Match(Type, 'Dealer', 'Distributor'), Blue(), Red())

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
1 Reply

Re: Changing Point Colour

Use this as color expression by Measure

If(Type='Dealer', Blue(), If(Type='Distributor', Red()))

Or

Pick(Match(Type, 'Dealer', 'Distributor'), Blue(), Red())

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)