Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!