Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello,
I try to change the color using a measure, but without much success. Basically, my condition does not work :
Normally, the "Sugar" should show in Red... but everything shows in Orange.
Can someone help me ?
Regards,
Louis
Solved! Go to Solution.
Hi @Louis66 ,
This issue has been submitted internally.
Internal ICM ID: 343098936
Please be patient to wait for fixing. If there is any news, I will update it here.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Louis66 ,
This issue has been submitted internally.
Internal ICM ID: 343098936
Please be patient to wait for fixing. If there is any news, I will update it here.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Louis66 ,
try below DAX Measure
colour =
SWITCH (
SELECTEDVALUE ( 'Cookie Types'[Cookie Type] ),
"Sugar", "Red",
"Orange"
)
Hello,
Unfortunately this DAX Measure does not work either - please see this screenshot :
Louis
?! that's the same as the IF statement.
Just for testing purposes, can you add your Colour measure to the matrix next to Cookie Type and see if it returns Red/Orange?
I tried it, but no success either
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 9 | |
| 7 | |
| 5 |