Skip to main content
cancel
Showing results for
Search instead for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I

## Power BI got a very serious issue in computation column total??

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?

2 ACCEPTED SOLUTIONS
Super User

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,

Helper I

Result from Excel Sheet:

How to resolve this issue?

5 REPLIES 5
Responsive Resident

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.

Responsive Resident

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.

Super User

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,

Helper I

Result from Excel Sheet:

How to resolve this issue?

Helper I

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)?

## Helpful resources

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

#### Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors