Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
swatimoku
Contributor II
Contributor II

Color scheme in qliksense for bar chart

Hi...

I have used 1 dimension and 1 measure for bar chart and I want to set the colour of each bar manually how can I  do that.

For example in the following chart I want to show Green color for '0-600' blue for 601-1200.

bar.PNG

1 Solution

Accepted Solutions
OmarBenSalem

Are you using Qlik Sense 3.2?

If so, add your 2 measures as master items (master measures) and add a color there to each measure.

Capture.PNG

View solution in original post

9 Replies
OmarBenSalem

choose cutom culor, by expression:

if(dimension='0-600',green(),

if(dimension='601-1200',blue(),

if(dimension='1201-1800',red(),

black()

))))

change color expressions as your like;

swatimoku
Contributor II
Contributor II
Author

Thank you Omae Bensalem

swatimoku
Contributor II
Contributor II
Author

Hie,

I have used 2 measrues in a bar chart, want to give a custom color to each measure how can I do this.

Thank You

Not applicable

Hi,  use for each measures a different Expression (see Omars answer).

OmarBenSalem

Are you using Qlik Sense 3.2?

If so, add your 2 measures as master items (master measures) and add a color there to each measure.

Capture.PNG

swatimoku
Contributor II
Contributor II
Author

Hie...I am using QlikSense 3.1

Is there any soloution in 3.1?

OmarBenSalem

Just upgrade to the latest version; It's free and won't harm or affect any of your current work

swatimoku
Contributor II
Contributor II
Author

Thank you so much...It worked for me

vanand3535
Creator III
Creator III

custome color---->color by expression

syntax:

=if(Year='2009' ,red(),

if(Year='2010', Blue(),

If(Year='2011',Green(),

if(Year='2012',black()))))

Year------Dimension

2009,2010,2011,2012 are values of year

Screenshot (668).png