Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Akina0929
Creator
Creator

custom color for dimension in pivot table?

Hi all,

       I have created pivot table in the product category is there in product category I want different color to each product. but using custom color i am getting one color for all the dimension. how can i get different color for different product please help me.

Best regards

Anji

1 Solution

Accepted Solutions
prat1507
Specialist
Specialist

Hey

Please Use

Pick(Match([product category],'HPSD','Fabric Attach','Bura'),

rgb(255,0,0),

rgb(0,255,0),

rgb(0,0,255),

rgb(125,125,125))

in the Dimension Background color.

You can use as many dimensions as you like with the rgb codes of your choice.

Regards
Pratyush

View solution in original post

4 Replies
Anil_Babu_Samineni

May be write this for your dimension BG color

Color(FieldIndex('product category', [product category]))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prat1507
Specialist
Specialist

Hey

Please Use

Pick(Match([product category],'HPSD','Fabric Attach','Bura'),

rgb(255,0,0),

rgb(0,255,0),

rgb(0,0,255),

rgb(125,125,125))

in the Dimension Background color.

You can use as many dimensions as you like with the rgb codes of your choice.

Regards
Pratyush

udeeshbl
Contributor II
Contributor II

Correct Answer

Akina0929
Creator
Creator
Author

Thank you pratyush  got it.