Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

keep a color joined to a value

Hallo!

In a qlikview sheet I have a list of customers in various gaphics based on their revenue, importance and so on, but a single customer is not rapresented in every chart at the same rank position, so it hasn't the same color.

For example, the customer "X" is at the top position for revenue, and QV assignes him the blue color in the relative chart, but it is on the second position for importance and so QV assignes him the red color in the relative chart.

Is it possible to set that the same customer keeps the same color in every chart ?

Thanks.

N.

3 Replies
vinieme12
Champion III
Champion III

create an excel table with  rgb values mapped to each Customer

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

See Attached Sample

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
rahulpawarb
Specialist III
Specialist III

Hello Nicola,

Hope you are doing good!

I agree with Vineet! However, if you have limited set of values for customer name dimension then you can make use of PICK and MATCH functions in background color expression. Refer below sample snippet:

Pick(Match(CustomerName,'X', 'Y', 'Z'),Red(), Green(), Blue())

This will set color as Red, Green & Blue for customer 'X', 'Y' & 'Z' respectively.

Regards!

Rahul