Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

abhaysingh
Contributor III

Color Change in qs

Hi pls check the app,

i want to change the color of BAR Chart, by default there are color blue and red , i want to change it to green and yellow..

pls suggest

12 Replies
balrajahlawat
Esteemed Contributor

Re: Color Change in qs

Try in Color By Expression:

if(Flag='Compile', Green(), Yellow())

abhaysingh
Contributor III

Re: Color Change in qs

Nopes,,not working

balrajahlawat
Esteemed Contributor

Re: Color Change in qs

abhaysingh
Contributor III

Re: Color Change in qs

by this for one measure and one dimension value can be done, how to do for 2 bar chart?

balrajahlawat
Esteemed Contributor

Re: Color Change in qs

THIS thread explain for 3 measures:

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

see:

For this example, the dimension is "Segment" and the measures are "Sales", "Quota", and "Expenses".  The requirement is a bar chart with Sales in green, Quota in blue, and Expenses in red.


Which is quite similar to your with 1 dimension and 2 measure

balrajahlawat
Esteemed Contributor

Re: Color Change in qs

I dont have QS

reddys310
Honored Contributor II

Re: Color Change in qs

Hi Abhay,

You can actually color any measure in a bar chart or line chart the way you need.

Is this what you need?

Capture.PNG

If so i am attaching a QVF for you to explore how to achive this.

Hope this helps.

- Sangram

abhaysingh
Contributor III

Re: Color Change in qs

Hi,

i have attached the app pls check.. there are 2 bar chart against value a .. these are colored blue and red .. i want color green and red

reddys310
Honored Contributor II

Re: Color Change in qs

Hi Abhay,

Your QVF looks to be empty. Did you attach the right one? If you can get me that, I will get it done for you.

- Sangram

Community Browser