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: 
Not applicable

Conditional format

Hello

I have created a pivot table with two dimensions e.g department, pay level and some expressions e.g current permanant workforce, Temp, etc. Now I have dragged pay-level under the expression. What I am trying to do is formulate an IF statement so that each pay-level (the whole column say under Permanent staff) will be different colours. The following doesn't seem to work.

if(perm_staff = 'Pay a', 'blue()', if(perm_staff = 'Pay b', 'Yellow ()'.....

I have written this statement under background colour of Perm_staff.

Please help

Thanks

3 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Change it to like this

     if(perm_staff = 'Pay a', blue(), if(perm_staff = 'Pay b', Yellow().....

Celambarasan

Not applicable
Author

Hi Celambarasan, I have already tried that and it does not work.

Not applicable
Author

Hi I think I've sorted it by changing perm_staff to 'Pay level'

Thanks all that had a look.