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
kala2
Helper III
Helper III

Many to Many relationship between 3 tablesi w

i want to set up many to many relationship between three tables:

Table 1

kala2_0-1627630142553.png


Table 2:

kala2_1-1627630175251.png


Table 3:

kala2_2-1627630200569.png

 

Is it possible to set up many to many relationship between three tables?

kala2_3-1627630352327.png

 

kala2_4-1627630379562.png

 

1 ACCEPTED SOLUTION
Mohammad_Refaei
Solution Specialist
Solution Specialist

The way you are trying to create the model is not going to work.

You may consider some other options like:

1. Make the second relationship inactive and activate it by USERELATIONSHIP function in your measures whenever needed.

2. Create a new table with the distinct Projekt_ID and use in a a straighforward star schema.

In Modeling, Create New Table

ProjektIDs = DISTINCT ( 'Table 1'[Project ID] )

 

View solution in original post

2 REPLIES 2
Mohammad_Refaei
Solution Specialist
Solution Specialist

The way you are trying to create the model is not going to work.

You may consider some other options like:

1. Make the second relationship inactive and activate it by USERELATIONSHIP function in your measures whenever needed.

2. Create a new table with the distinct Projekt_ID and use in a a straighforward star schema.

In Modeling, Create New Table

ProjektIDs = DISTINCT ( 'Table 1'[Project ID] )

 

Thanks added the table and made the one-to-many relationship. 

Screenshot 2021-07-28 124912.png

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.