Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
SatyaPaleti
Creator III
Creator III

How to add required color to expression when using multi dimensions in Qliksense Bar chart

Hi Team,

Could some one please help me how to change required colors when using 2nd dimension in the bar chart 

Currently I am using Two dimensions and one measure and I am not getting an option to add required colors. Here below is the Requirement

I am having Dimensions like Product & Product Brand and its expression is sum(Sales). I am getting following chart

Issu1.PNG

 

 

 

 

I want to change Laptop bar color in to red and Mobile bar color in to green. How can we give required color options.

How ever I am changing color by making following changes Colors and Legends --> Colors (Custom) --> By Expression.

I am writing following expression   if(Product = 'Mobile', red(), green())   

iSSU3.PNG

Finally I am getting following Chart

issue2.PNG

As you can see legend is displaying at bottom at this case. Legend(Laptop & Mobile ) should come at right side. User don't want to see both dimension labels at the bottom. Can some one please help me to resolve this Issue. You can find attached document for sample qvf

 

Thanks and Regards,

Satya 

 

Labels (1)
0 Replies