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: 
jim_chan
Specialist
Specialist

barchart - negative value in different color, how?

Hi guys,

I have created a bar chart, has negative value. all i want is have another color for the negative value.

How to do that??

My expression is just as simple as sum(total_sales), at the moment.

barchart.jpg

Rgds,

Jim

1 Solution

Accepted Solutions
arulsettu
Master III
Master III

in expression->background color

try this

if(sum(Sale)>0,green(),red())

View solution in original post

2 Replies
arulsettu
Master III
Master III

in expression->background color

try this

if(sum(Sale)>0,green(),red())

jim_chan
Specialist
Specialist
Author

ar!!!!! silly question! i knew this... but thanks anyway!