Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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.
Solved! Go to Solution.
Try this one.
Category =
SWITCH(TRUE(),
cc[Product Categories] = "Green", UNICHAR(128994),
cc[Product Categories] = "Red", UNICHAR ( 128308 ),
cc[Product Categories] = "Amber",UNICHAR ( 128993 )
)
Thanks a ton it worked!
Try this one.
Category =
SWITCH(TRUE(),
cc[Product Categories] = "Green", UNICHAR(128994),
cc[Product Categories] = "Red", UNICHAR ( 128308 ),
cc[Product Categories] = "Amber",UNICHAR ( 128993 )
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |