Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to create conditional color of pivot background

hi

i create a pivot table - see photo .

now i want to color the ACTUAL background  in one color and the PLAN background in another color

both (ACTUAL and PLAN) are value of the same field

how can do it  ?

thank you

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

This is very old version of qlik

Consider upgrading to latest version. Which is 11.2 sr9 for timebeing.

Hope it helps

Regards

ASHFAQ

View solution in original post

26 Replies
ashfaq_haseeb
Champion III
Champion III

Hi

You want to color Header only or entire content?

Can you post sample app?

Regards

ASHFAQ

jyothish8807
Master II
Master II

Hi,

Try like this:

if both Actual and plan are different expression then:

On the expression tab.. click on the + sign-- go to background color--> red()

same for second expression--> blue

Regards

KC


Best Regards,
KC
Not applicable
Author

hi only the header

ashfaq_haseeb
Champion III
Champion III

HI,

Then you need to look at custom format cell.

have a look at below link

http://community.qlik.com/message/622078#622078

Let me know if that worked.

Regards

ASHFAQ

Not applicable
Author

hi

no there not an expressions .

they value of the same dimension

Not applicable
Author

hi

i try to do it i go to "costume format cell' -- background -- calculate -- and if(type='Actual',Red())

nothing happen. and after i click 'ok' and went back to costume format cell , it did't save the formula

jyothish8807
Master II
Master II

hi Try:

in background color:

pick(match(machine,'Actual','Plan'),Red(),Blue())

Regards

KC

Best Regards,
KC
Not applicable
Author

hi

no there not an expressions  !!

they value of the same dimension

if i do it both will be in the same color

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Properties -> Dimension -> Click on the Dimension -> Expand + -> Click on Background color and edit and give the expression below

if(type='Actual',Red(), Green())


Hope this helps you.


Regards,

jagan.