Forum Discussion
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
Hi kristeltulio ,
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
- Nathaniel_CCommunity Champion
Hi kristeltulio ,
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 - v-kkf-msftCommunity Support
Hi kristeltulio ,
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. - kristeltulioRegular 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?