Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello, I created a measure that returns a color value to use as a conditional formatting in a visual. It works on PBI Desktop, but not in the service (I tested with Edge and Google Chrome).
I noticed that not only in this report, but this feature doesn't work in any report at all:
What am I doing wrong? Is this a limitation?
This measure returns either
Solved! Go to Solution.
I solved this issue by putting a # symbol before the color code.
So, my instead returning:
"98E0AD", "F8A1A4", "BFBFBF"
My measure now returns:
"#98E0AD", "#F8A1A4", "#BFBFBF"
I solved this issue by putting a # symbol before the color code.
So, my instead returning:
"98E0AD", "F8A1A4", "BFBFBF"
My measure now returns:
"#98E0AD", "#F8A1A4", "#BFBFBF"
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 9 | |
| 5 |