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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kristeltulio
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

kristeltulio_0-1653872871154.png

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @kristeltulio ,

 

Please try the following formula:

 

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

vkkfmsft_0-1654053830281.png

 

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.

View solution in original post

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @kristeltulio ,

 

Please try the following formula:

 

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

vkkfmsft_0-1654053830281.png

 

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.

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

Nathaniel_C
Super User
Super User

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





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

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.