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: 
Anonymous
Not applicable

Color expression for different measures

Hi,

i have this table

tbl_sales:

LOAD * Inline

[Store, Cola, Sprite, Fanta

New York,2407,6262,37526

Chicago,11600,30583,140708

San Francisco,40,100,1159

];

I create a barchart and use Store as dimension.

Cola, Sprite, Fanta as measure

I want to show each measure in a special color. How can i do it?

Next step, if the Store = Chicago the measure colors for this store should be another special colors.

Best regards,

sam

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I found a solution: Qlik Sense: How to set custom colors by measure in a bar chart and added some code to show "Chicago" bars in another color.

2017-07-29_23h59_35.jpg

View solution in original post

4 Replies
OmarBenSalem

Maybe like this?

OmarBenSalem

Capture.PNG

Anonymous
Not applicable
Author

For example i want to show

Cola: #204F79

Sprite: #4F9BD9

Fanta: #BAD8F4

Anonymous
Not applicable
Author

I found a solution: Qlik Sense: How to set custom colors by measure in a bar chart and added some code to show "Chicago" bars in another color.

2017-07-29_23h59_35.jpg