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
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
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.