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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Mika92
New Member

Ordered quantity in Header

Hi

 

I have a small question ..

 

I have in an order header the quantity : "example 1000" BUT we receive this order on several delivery lines: "example 4 lines"

 

In my fact table which is at the level of the delivery line, how do I manage the quantity ordered?


Do I keep in my fact table in quantity ordered: 1000 on the 4 lines and in the PBIX I make an average indicator of the quantity ordered?

 

Or do I create in the pbix in dax an indicator that only displays the quantity ordered (1000) for the first line of the order? (like that if I look at several different commands I'm right too?)

 

Or does it put in the fact table 250 in quantity ordered on each line so that I can make a sum in the PBIX ?

 

I don't know what is the best practice for this case...

 

Thank you in advance for your help

2 REPLIES 2
TaylorPBI21
Resolver I
Resolver I

Hi @Mika92 ,

 

Are the rows duplicating or do they have have different values e.g same ID same quantity but different delivery dates? 😎

Hi @TaylorPBI21 

It's not duplicate rows, it's the same order  with 4 delivery dates (and 4 delived quantity) 😉

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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