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 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 9 | |
| 5 | |
| 4 |