This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
We have a dashboard with conditional formatting on a value.
< 4.70 the cell turns yellow.
>= 4.70 the cell turns light green.
The expression that is evaluated is SumOfScore ( Decimal ) / CountOfScores ( Int ).
The oddity is that at the value of 4.7 ( 84.6 / 18 ) the cell is being colored yellow.
I came up with a work around - but I'd love to understand why if someone knows. I suspect that it has something to do with the data types, but with a value that Excel says is 4.7000000000 I'm at a loss as to why PowerBI is evaluating that as something less then 4.7.
Turns Cell Yellow
Solved! Go to Solution.
Decimal numbers are always approximations. Use ROUND etc to force the result of a division to snap to an integer.
Decimal numbers are always approximations. Use ROUND etc to force the result of a division to snap to an integer.
Check out the May 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 |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 27 | |
| 20 | |
| 19 |