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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. 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 (1)
1 Reply
Yoshidaqlik
Creator II
Creator II

Hi

try:

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

 

regards

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