This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have this measure that calculates the difference between This month and the previous month:
I'm trying to add conditional formatting shapes to it in a table. If I right click on
the measure and select 'conditional formatting/icons I get this:
I'm trying to set it so if:
Value >= min and <0 RED icon
= 0 YELLOW icon
> 0 and <= Max Green icon
But I'm getting an error on the first rule and for some reason the second two are showing Percent not Number.
Can anybody see what I'm doing wrong?
Solved! Go to Solution.
For some reason its working now. I deleted the suggested rules and added some new one's in.
For some reason its working now. I deleted the suggested rules and added some new one's in.
Hi @Fusilier2
Have you considered using a measure to do the formatting?
Icon Measure =
var Diff = [Headcount Excl Casual Month on Months] --stores the measure result
Return
Switch(
TRUE()--test if the following is true
,Diff < 0 , "🔴" --Use Windows + . for the emoji keyboard
,Diff = 0, "🟡"
,Diff > 0, "🟢"
)
As for why it is showing as percentage only.
Is there any formatting being applied to the measure that might be confusing it?
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Fusilier2 , You're encountering the error because of a mismatch between data type and rule configuration.
Why You're Getting the Error:
How Fixing to "Number" Helps:
By changing each dropdown to "Number":
Set up the icon rules like this:
This configuration will correctly apply icons to your Headcount Excl Casuals month on month measure based on the direction of change.
⭐Hope this solution helps you make the most of Power BI! If it did, click 'Mark as Solution' to help others find the right answers.
💡Found it helpful? Show some love with kudos 👍 as your support keeps our community thriving!
🚀Let’s keep building smarter, data-driven solutions together! 🚀[Explore More]
I can't change Percent to Number because the dropdown box is greyed out.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 60 | |
| 48 | |
| 29 | |
| 23 | |
| 23 |