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
How stupid PBI can produce this result?
Sales = SUM(debsum) - SUM(CredSum)
The problem comes from the total of the sales measure.
It's calculating as a tiny value eg 0.00000000000000001 You're then dividing by this and giving the large percentage.
How would you expect the sales measure to agregate at the total level? If it's a straight sum of each day you need to do:
Sales =
SUMX(
VALUES ( Date[Date] ),
SUM(debsum) - SUM(CredSum)
)
@bcdobbs i also thought like that, but i did a test,
Measure = [Sales] > 0 Result: False
Measure = [Sales] < 0 Result: True
Measure = [Sales] <-0.000000000000001 Result: True
What value would you expect the total sales to be and how should it be aggregated?
_F 11 EBITDA Is also negative so I think your test further agrees with result you're seeing.
Sorry slight update to the above now I'm at a computer.
Set the data type for columns and measure to fixed decimal:
Data types in Power BI Desktop - Power BI | Microsoft Docs
Rather than decimal number.
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 38 | |
| 38 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 74 | |
| 61 | |
| 31 | |
| 31 | |
| 23 |