Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I created a simple table visual, and I noticed the sum add-up does not tally. I used a calculator to calculate the result is $8.15. The table total value $8.13 is incorrect. It's a 2₵ difference that created serious confusion?
Each row of value checked on the data view is correct.
Is it a Power BI issue? Or I'm over-looked something?
Solved! Go to Solution.
Yes, you are overlooking a rounding issue. I surmise you are dividing Fare by 20 to get Levy Cost. If you expand your display to 3 decimal places then the total is correct.
16.9 | 20 | 0.845 |
11.7 | 20 | 0.585 |
25.2 | 20 | 1.26 |
18.6 | 20 | 0.93 |
12 | 20 | 0.6 |
17.7 | 20 | 0.885 |
33.6 | 20 | 1.68 |
26.9 | 20 | 1.345 |
8.13 |
Trust this helps!
Regards,
Technically the PowerBI total is more accurate than the excel total for the reason Rsbin outlined, however if it's important to you that they match you can use the ROUND() function to round your Levy Cost to two decimal places. That way the actual stored value, not just the display format will be rounded and your figures should match with excel.
Remember the total isn't actually the sum of what is displayed above, it is the sum of [Levy Cost] when the context from [Date], [#Job], [TimeStart], [Fare] is removed. I.e the total will be subject to its own rounding, rather than summing the rounded values for each row above.
Yes, you are overlooking a rounding issue. I surmise you are dividing Fare by 20 to get Levy Cost. If you expand your display to 3 decimal places then the total is correct.
16.9 | 20 | 0.845 |
11.7 | 20 | 0.585 |
25.2 | 20 | 1.26 |
18.6 | 20 | 0.93 |
12 | 20 | 0.6 |
17.7 | 20 | 0.885 |
33.6 | 20 | 1.68 |
26.9 | 20 | 1.345 |
8.13 |
Trust this helps!
Regards,
Result from Excel Sheet:
How to resolve this issue?
Dear rsbin,
Guess you misunderstood my question.
If you put the red-box values into Excel worksheet, then the sum is $8.15
So there is a different of 2₵. Can you explain what is causing the issue (rounding-up/down)?
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.