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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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