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: 
New-here1
Contributor III
Contributor III

Colour Formatting

 
Labels (4)
2 Replies
Or
MVP
MVP

You can use If(Condition1 AND Condition2 AND Condition3, Yellow()) for this. If multiple colors are necessary, it may be better to use nested if statements instead (e.g. If(Condition1, If(Condition2 AND Condition3,Yellow(),Red()),Green())

msabi
Contributor II
Contributor II

you can use if() expression with RGB() or '#XXXXXX' hex

as example:

if(key=1,RGB(150,75,120),

if(key=2,RGB(100,80,120), RGB(100,10,100)

))