Forum Discussion
rahulrackup
4 years agoMicrosoft Employee
Color code instead of color name
Hi Everyone,
I have data wich talks about product categories by color code, and my requirement is to show sales amount by color code (see pic 2) instead of color name in table/Matrix format. Below snip of what i have in place and second picture talks about my requirement. Any help would appreciated.
Snip 1.
My Requirement Snip 2.
Try this one.
Category = SWITCH(TRUE(), cc[Product Categories] = "Green", UNICHAR(128994), cc[Product Categories] = "Red", UNICHAR ( 128308 ), cc[Product Categories] = "Amber",UNICHAR ( 128993 ) )
2 Replies
- rocky09Solution Sage
Try this one.
Category = SWITCH(TRUE(), cc[Product Categories] = "Green", UNICHAR(128994), cc[Product Categories] = "Red", UNICHAR ( 128308 ), cc[Product Categories] = "Amber",UNICHAR ( 128993 ) ) - rahulrackupMicrosoft Employee
Thanks a ton it worked!