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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
panipat1990
Creator II
Creator II

How to Change Background Color in Pivot Table

Dear Team,

i Stuck a requirement. i want to change background color of Second dimension.

in my Table 3 field

Field1

Field2

Field3

I made a pivot table. I used Field 1 and field 2 as a column

and field 3 as Raw level.And Measure is sum(Sale)

In Field2 i have a Value 1,2,3,4,5,6,7,8,

My Requirement is Background of 1 Show Red Color

                                Background of 1 Show Yellow Color

                               Background of 1 Show GreenColor

                               Background of 1 Show OrangeColor


For this i am Sharing Data And Qvw. Kindly Help me for resolving this requirement

Labels (1)
5 Replies
madhumitha
Creator
Creator

Hello Gourav,

Please find attached file.

hope this helps

prma7799
Master III
Master III

I you want to change background color on dimension then got to

Properties >> dimension >> select Dimension >> background color >> write condition here

panipat1990
Creator II
Creator II
Author

i know the way.but Kindly help me for resolving my problem

ieuyar
Contributor III
Contributor III

on field2 dimension, use below expression for background color:

=if(match(Field2,1,2,3,4),pick(match(Field2,1,2,3,4),red(),yellow(),green(),ColorMix1(0.5,red(),yellow())),white())

madhumitha
Creator
Creator

What exactly is your issue?

is that not working?

can you share more details??