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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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