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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Hijau
Frequent Visitor

Divide function not showing correct result

Hi community,

 

I'm trying to use the divide function but it's not showing the correct results for me. The formula looks like this: 

 

Omloopsnelheid = DIVIDE(SUM(GRV_StockpositionsPerDay[Stock]);SUM('100_Voorraadmutaties'[Eruit positief]);0)

 

Sample 1.PNG

 

Sample 2.PNG

 

 

The GRV_StockPositionsPerDay[Stock] is the 'Voorraadstand' in the first picture. The 100_Voorraadmutaties[Eruit positief] is the Eruit posititief in the second picture. So what I want is 65.401,00 / 700.348,00 = 0,09338... But it's giving me 0,00290.

 

Anyone who knows how to tackle this problem? Thanks in advance!

 

Kind regards,

 

Dexter

1 ACCEPTED SOLUTION
gipiluso
Resolver II
Resolver II

it seems that the two table is not properly related.

Look to whats append if you bring the "Eruit positief" column in the first table.

 

If you don't solve post the pbix, i'll try to take a look.

GP

View solution in original post

4 REPLIES 4
gipiluso
Resolver II
Resolver II

it seems that the two table is not properly related.

Look to whats append if you bring the "Eruit positief" column in the first table.

 

If you don't solve post the pbix, i'll try to take a look.

GP

Thank you GP, when you said relation I checked into the relation between the tables and thats fixed it! 🙂

quentin_vigne
Solution Sage
Solution Sage

Hi @Hijau

 

If you don't use SUM function, does it display the correct value ? 

 

 - Quentin 

If I just divide the columns without using DAX it gives the same answer. Also when I use divide the numerator and denumerator need a function I believe. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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