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
Anonymous
Not applicable

Rounding by 5 characters when dividing

Hello,
I don't know is there an issue, but I have a problem by calculating Cogs (the number must be very precise)

 

I have three columns:

  • [Kiekis, vnt] - Quantity (3200)
  • [Savikaina, EUR] - Cogs, EUR (9889,44)
  • Savikaina, vnt/EUR - Cogs for one unit

 

To calculate Cogs for one unit, I divide [Cogs, EUR]/[Quanity], and got - 3,09050, but in real it is 3,09045.

Some how it's round by 5 characters by dividing.

Screenshot_7.png

Maybe someone knows, how to get right number or have same problem that i do?

 

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

Based on my test, the dividing calculation returned correct value. For your problem, I would suggest you check the actual value of [Kiekis, vnt] and [Savikaina, EUR]]. The number of decimal places setting for them would affect the dividing result.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Kristjan76
Responsive Resident
Responsive Resident

I tried this and got the correct number

COGS.PNG

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.