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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
learner_23
Frequent Visitor

Mixed granularity data model (Summary and Detail table of transaction)

Hi,

 

I have two table one is summary level sales data and another is transactional level data. I'm getting many to many in data model.

Can you help on how to create a data model when we have mixed granular level data like this.

 

Appreciate your help!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @learner_23 

 

You need an intermediate table like this:

 

My sample:

vxuxinyimsft_0-1709540620755.png

 

vxuxinyimsft_1-1709540655863.png

 

Create a calculated table as follows

 

ID = VALUES(Table1[ID])

 

 

vxuxinyimsft_2-1709540792233.png

 

Output:

vxuxinyimsft_3-1709540826525.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @learner_23 

 

You need an intermediate table like this:

 

My sample:

vxuxinyimsft_0-1709540620755.png

 

vxuxinyimsft_1-1709540655863.png

 

Create a calculated table as follows

 

ID = VALUES(Table1[ID])

 

 

vxuxinyimsft_2-1709540792233.png

 

Output:

vxuxinyimsft_3-1709540826525.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vanessafvg
Super User
Super User

please provide sample data (in text form) with the expected solution.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.