Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

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

Try in Color By Expression:

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

abhaysingh
Specialist II
Specialist II
Author

Nopes,,not working

abhaysingh
Specialist II
Specialist II
Author

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

Anonymous
Not applicable

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

Anonymous
Not applicable

I dont have QS

reddy-s
Master II
Master II

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
Specialist II
Specialist II
Author

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

reddy-s
Master II
Master II

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