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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nurulizzaty
Contributor III
Contributor III

How to add traffic light function into table

Hello experts,

How can i highlight if the date is over 3 days than the current date? Meaning it is overdue. I'm not sure how the formula is.

Eg : If(dimension: incident date) > 3 days after , then red circle is displayed.

Really need your help on this guys pleaseeeee :(((((

 

@Arthur_Fong help me pleasee 😞

Labels (1)
3 Replies
nurulizzaty
Contributor III
Contributor III
Author

Anyone help me on this please..... This is urgenttt :(((((((

@

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Do you have a sample app?

nurulizzaty
Contributor III
Contributor III
Author

I don't have the sample app but i can give you example. 

Eg: Dimension : Incident Date

So if the date has passed 3 days, it will turn out red, but if not it will turn green.

I tried this formula but obviously it is wrong. I don't know how to calculate the 3 days overdue..

if(incident_date >='3',lightRed(),lightgreen())