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: 
chriscools
Creator II
Creator II

colour field of a dimension based on its value, is this possible?

Hello,

i have a dimension called OrderDate for which i calculate 2 expression.

is it possible that if the orderdate is more than 30 days ago, the values for the expression or dimension become red?

thanx!

chris

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, if you click on the + sign in front of a dimension or expression you can then click on Background Color (or Text Color) and enter an expression to calculate a color. Something like if(today() - OrderDate> 30, red(), black())


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, if you click on the + sign in front of a dimension or expression you can then click on Background Color (or Text Color) and enter an expression to calculate a color. Something like if(today() - OrderDate> 30, red(), black())


talk is cheap, supply exceeds demand
chriscools
Creator II
Creator II
Author

perfect, thanx!