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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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