cancel
Showing results 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

Regular Visitor

## Divide function not calculating correctly

Hi I would like to ask for help. I'm trying to use the DIVIDE function but I'm not getting the right result. Below is my calculation:

Breakeven YTD =
- DIVIDE(
[Overheads] + [Other Income],
[GP %],0)

// Breakeven YTD = -(Overheads + other income) / GP%

if I calculate it the result should be 348055-5426 = 342629 / 0.206 = 1,663,247.57 but I'm getting 1,664,245

Here is the result

1 ACCEPTED SOLUTION
Community Support

Please try the following formula:

``````Breakeven YTD =
- DIVIDE ( [Overheads] + [Other Income], ROUND ( [GP %], 3 ), 0 )``````

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 REPLIES 3
Community Support

Please try the following formula:

``````Breakeven YTD =
- DIVIDE ( [Overheads] + [Other Income], ROUND ( [GP %], 3 ), 0 )``````

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regular Visitor

Hi @Nathan

Sorry I can't share the pbix file because it's a financial report. Is there a way to fix this rounding error by using ROUND function?

Super User

You are most likely dealing with a rounding error.  Would you please supply us with the .pbix?

Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

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.