Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

ignasdukynas
New Contributor III

Customise colors by measure in chart bar (Qlik Sense)

Hello

I have already looked at this thread: Qlik Sense: How to set custom colors by measure in a bar chart

It does not work for me as my measures are calculated in QS app.

Problem:

I have 1 dimension and 3 measures which are calculated in QS. I want to set custom colors by measure. Does anybody know if there is any possibility?

Capture.PNG !

Thank you.

1 Solution

Accepted Solutions
lironbaram
Honored Contributor II

Re: Customise colors by measure in chart bar (Qlik Sense)

hi

starting from Qlik sense 3.2 you can define the color of a measure

when you define a master item measure in the bottom  part of the form you can assign color to the measure

see picture below

Com.png

6 Replies
lironbaram
Honored Contributor II

Re: Customise colors by measure in chart bar (Qlik Sense)

hi

starting from Qlik sense 3.2 you can define the color of a measure

when you define a master item measure in the bottom  part of the form you can assign color to the measure

see picture below

Com.png

Not applicable

Re: Customise colors by measure in chart bar (Qlik Sense)

Hello,

I have the same problem as Ignas, I calculated 2 measures that I use in a bar chart. I looked at the functionality that you presented but I don't have it, I think it is because I don't use the right version of Qlik Sense. I have tried to create expression to change the color but it doesn't work.

For example, I have 2 measures that I calculated before : measure_1 and measure_2 and I want different color for both. So I tried this expression : if ( (measure_1),green(),red()) -> if it is measure_1 I want to put the bar chart in green and if it is measure_2 I want to put the bar chart in red, but it didn't work.

Do you know how can I do that, I think it is the same issue that Ignas has.

Regards,

Paloma

ignasdukynas
New Contributor III

Re: Customise colors by measure in chart bar (Qlik Sense)

‌Hello

you need to go to the measures press edit and then change color. The this color applies automatically to all charts. It works fine. Let me know if you cannot find

Not applicable

Re: Customise colors by measure in chart bar (Qlik Sense)

Hello,

I went there but there is not the color option. I only have the 4 others. So I guess I need to use an expression.

ignasdukynas
New Contributor III

Re: Customise colors by measure in chart bar (Qlik Sense)

if you go to the measure in the measures tab and then you edit the measure and cannot see the colors option then you need to download QS 3.2. i do have that option. Let me know if you solve the issue

Not applicable

Re: Customise colors by measure in chart bar (Qlik Sense)

Thank you. I updated Qlik Sense and now I can see the option. It changes the color in every graphics so if I want to modify it only in one graphic, I will need to use "personalize" or an expression.