Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
khaycock
Creator
Creator

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
Anil_Babu_Samineni

Use this as color expression by Measure

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

Or

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

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

Use this as color expression by Measure

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

Or

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

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful