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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Modeling - schema

HI , 

what is the more efficient way to work when you have an Order_header table and Order_item level table,

should i work with both table and create relationship between ?

or should i merge the tables in to one table in the model?

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You should merge. We prefer star schema, where we would like these two as single fact.

 

If needed Order_header  can also be a dimension

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @amitchandak 

thank you for your advice.

i have a case which we have a authorization process  for purchase orders :

the data is stored on header level:

 

Order Keysign date1 sign date 2 sign date 3
A123132318/02/202219/02/202221/02/2022

thats is why i though to have it on another table in the model , what is your opininon?

 

thanks!

 

Anonymous
Not applicable

@amitchandak 

the issue in this model is that i have orders with line level data, amount qty and so like in classic module,

but , this company have data of Authorization process with every order, and they analzye the time its take to apporove a order, and every order has max up to six signers, so i thoght to hold this infromation in another table in header level to not replicate the data

 

is that a good idea?

Anonymous
Not applicable

@amitchandak 

thanks!!

i was not sure which way is the best practise

amitchandak
Super User
Super User

@Anonymous , You should merge. We prefer star schema, where we would like these two as single fact.

 

If needed Order_header  can also be a dimension

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.