Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |