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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
darrellbutler
Creator
Creator

before Function

Hi,

I'm trying to highlight values in a table that are less than the previous day. My horizontal dimension is date however the following doesn't seem to work

if(columnno()>0 and rowno()>0,if(before([CONFIRMED_FORECAST_TONNES],1,0)<[CONFIRMED_FORECAST_TONNES],rgb(255,198,198),rgb(198,255,198)),rgb(255,255,255))

any ideas why this maybe the case ?

rgds

Darrell.

Labels (1)
2 Replies
rajni_batra
Specialist
Specialist

TRY

if(columnno()>0 and rowno()>0,if([CONFIRMED_FORECAST_TONNES]<previous([CONFIRMED_FORECAST_TONNES]),rgb(255,198,198),rgb(198,255,198)),rgb(255,255,255))

Not applicable

take this. BYE