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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Community Champion
Community 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





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

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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