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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Change font and or background color in pivot table

I am having a problem that I can not find an answer as of yet

I have a pivot table that has a OnHand field and a Required field

I would like to compare the OnHand and Required field and

compare OnHand to Required and change the background cell of OnHand:

if it is less Red

if it is equal Yellow

if it is More Green

I know there is the visual cue area that has something like that but it is hard coded values.

thanks in advance

1 Reply
morgankejerhag
Partner - Creator III
Partner - Creator III

If you click on the plus next to your expression On hand and enter the logics in Background color. Something like

if(OnHand < Required, red(), if(OnHand = Required, yellow(), green()))

I would recommend using the rgb() function to find better colors though