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
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())
Finally I am getting following Chart
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