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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Background Color Chart

Chart Colors.png

Can anyone help me to solve this problem

I am trying to color the bars on values

If current year values < previous year then make it red else green. It will be applied only on year 2011,2012,2013 as 2010 will be the base year

Many thanks for the help

1 Solution

Accepted Solutions
Not applicable
Author

HI

please check this maybe help you

tt.JPG.jpg

View solution in original post

2 Replies
Not applicable
Author

HI

please check this maybe help you

tt.JPG.jpg

israrkhan
Specialist II
Specialist II

Hi Sunny,

on your expression tab>> click on expression plus sign to expand the expression,

and put the expression like this if(sale < Previous(sale),Red(),Green()) on Background Color property.

1.png