Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sanjujeeboy
Creator
Creator

Color Expression

Hi Team,

I have a table as shown below. I have shown only 2 countries. (There are more than that)

CountryMetricJanFebColor Indicator
USARevenue0.21-0.18 
GermanyRevenue0.340.22 

 

Looking at latest month, if my revenue is +ve color should be green, if -ve then red.

what should i write in color expression in qliksense

 

Thanks

 

 

 

 

Labels (2)
1 Reply
Yoshidaqlik
Creator II
Creator II

Hi

try:

if(sum(Revenue)>=0, Green(),Red())

 

regards

YoshidaQlik https://www.youtube.com/channel/UC1I9P8MqCZEhB6Nw3FdSqng