Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
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.

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