Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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