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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ntdanh
Frequent Visitor

Data model for many to many relationship

ntdanh_0-1677837900800.png

 

I have a budget/target table by rep by product, the fact table is invoice, SM retail has a many to many relationship due to matrix/territory model. I cannot make a target achivement by rep by product but it works for by rep only. Could you help me to advice a solution for this ? By Dax or by another models with bridge tables ?

Thank you

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @ntdanh ,

 

This is a complex issue and that depends on the model and data needs, I suggest that you check the video below frokm Marco Russo with an explanation of the issues and how to solve it using bridges tables.

 

https://www.youtube.com/watch?v=wRSJ6TYjEu0


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @ntdanh ,

 

This is a complex issue and that depends on the model and data needs, I suggest that you check the video below frokm Marco Russo with an explanation of the issues and how to solve it using bridges tables.

 

https://www.youtube.com/watch?v=wRSJ6TYjEu0


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.