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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.