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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

RELTIONSHIPS

Hi

Can you explain to me when i need to use a MANY to MANY relation or a 1 to MANY relation ?

Thank you

1 ACCEPTED SOLUTION
TomasAndersson
Solution Sage
Solution Sage

Hi!
A one to many relationship between a dimension and fact table are usually considered best practice. Many to many relationships can sometimes be used to remove the need for a creating a dimension table with unique values, but should generally be avoided when possible.

You can read more about relationships here: Back to Basics: Power BI Relationship Demystified - RADACAD
And about one-to-many vs many-to-many here: Many-to-One or Many-to-Many? The Cardinality of Power BI Relationship Demystified - RADACAD

View solution in original post

4 REPLIES 4
Idrissshatila
Super User
Super User

Hello,

You could take this free course from SQLBI to learn more about data modeling that includes the relationships one to mny and many to many.
https://www.sqlbi.com/p/introduction-to-data-modeling-for-power-bi-video-course/

 

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

 

Follow me on Linkedin

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thank you

TomasAndersson
Solution Sage
Solution Sage

Hi!
A one to many relationship between a dimension and fact table are usually considered best practice. Many to many relationships can sometimes be used to remove the need for a creating a dimension table with unique values, but should generally be avoided when possible.

You can read more about relationships here: Back to Basics: Power BI Relationship Demystified - RADACAD
And about one-to-many vs many-to-many here: Many-to-One or Many-to-Many? The Cardinality of Power BI Relationship Demystified - RADACAD

Cristal clear

Thank you

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors