Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator II
Creator II

not able to get 'By dimension' option in Colors and legend for bar chart

Hi,

i want to apply different colors to bars in bar chart,for this i have set auto color off,but i am only getting 3 options in dropdown not getting by dimension option.

here i have one dimension : client name

5 Expression ,each bar for each expression

Capture1.PNG

Please help me on this

4 Replies
Chanty4u
MVP
MVP

select by exp and try to write exp lik below

if(sum([Gross Total])>50000 ,red() , if(sum([Gross Total]<10000 ),Green(), Yellow()))

sunny_talwar

So are you trying to get a color for each of your bar? May be try sort by expression:

Pick(Match([client name], 'Client1', 'Client2', 'Client3'.....), Blue(), Green(), Black(),....)

berryandcherry6
Creator II
Creator II
Author

HI,

here i have only one client Dimension(only client) with different expression(bars for different expression) for that client.

How could i use this?

Chanty4u
MVP
MVP

apply lik below.. As sunny proposed.

clr.PNGclr1.PNG