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: 
s_mapper319
Contributor II
Contributor II

Colour cell background in a pivot table based on date comparison

Hello!

I am trying to dynamically change the background colour of specific cells in a pivot table based on a date comparison. If the date in the pivot table matches a flagged date from another table (see "Varning" table in the bottom right corner of the image below), I want the cells in the pivot table to be red.

I have tried using the background colour expression under my measurement value, and it works when I try a dummy expression like "if(value > 1000, blue(), red())", but when I try to compare dates, it doesn't work "if(pivot.date = flagged.date, red(), green())".

Any help greatly appreciated!

s_mapper319_0-1639663847634.png

 

0 Replies