Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator III
Creator III

Change Color by Measure - Qlik Sense

Hi Qlik Techies,

We have a color option (Color by Measure). It gives a the color variation like below I attached,

But my scenario is, instead of the blue I need to change the color as Green. So, it should get varies from green to red.

Is it possible..??

17 Replies
Highlighted
Master III
Master III

Re: Change Color by Measure - Qlik Sense

Highlighted
Master II
Master II

Re: Change Color by Measure - Qlik Sense

Hi,

try to create master measure item (here u can easily define the color your value range.)

Capture.JPG

Setting Color in Master Dimensions and Measures

Qlik Sense: How to set custom colors by measure in a bar chart

also you can write if condition like below

if(sum(Sales)>100,rgb(127,255,127),rgb(255,127,127)) //use u r measure field and conditon -- qliksense put this expression in background color expression section

Thanks, Deva

Highlighted
Creator III
Creator III

Re: Change Color by Measure - Qlik Sense

Hey Deva,

it will give only two colors. But what I need is it should start with green and end with red. The color should be varied based on the value.

Highlighted
Master II
Master II

Re: Change Color by Measure - Qlik Sense

Hi,

try to enable custom color by dimension.

refer the screen shot

Capture.JPG

Highlighted
Champion III
Champion III

Re: Change Color by Measure - Qlik Sense

you can enable custome colour by dimension   

here sometimes dimension will be selected different  ---- try to add the dimension which you want

and apply it will work.

Highlighted
Creator III
Creator III

Re: Change Color by Measure - Qlik Sense

Hey Devarasu,

This is not I'm expecting.

Please read the question properly.

Thanks,

Highlighted
Champion III
Champion III

Re: Change Color by Measure - Qlik Sense

Highlighted
Specialist
Specialist

Re: Change Color by Measure - Qlik Sense

ColorMix1 will work perfect for you.

The important part is calculation the borders for which the gurus just need to understand the measures your using to create a representation from 0 to 1.

I hope this helps,

Cheers,

Luis

Master II
Master II

Re: Change Color by Measure - Qlik Sense

Hi,

Suggested setting will give different color for each dimension value. when u have issue, better try to prepare some mock app with sample data and highlight your issue so that would be easy for others  to check and help you quickly.