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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Moh_Ashraf
Frequent Visitor

Relationships connection

I have a problem in relationships connections between two tables:

Table 1 (Main): For recording orders, so it has many colums and categories.

Table 2 (Working Hours): it has a Month, year and section code.

 

When I make a relation many to many it gives an error as shown in the attachement.

many to many 2.pngmany to many.png

1 ACCEPTED SOLUTION
Deku
Community Champion
Community Champion

That is because only 1 of your 3 relationships is active, and only one can be active. You need to create a single column that can deal with the join.


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

3 REPLIES 3
Deku
Community Champion
Community Champion

It is not a error, it is a warning. Many:many relationships are weak relationships, which can have performance implications when the relationship has a high cardinality 

 

Looking at your model it looks like you want to join the two tables with multiple fields that you want want to apply at the same time. Only a single join between two tables can be a active at a time. You should consider creating a single column on both sides of the join that would be used in the relationship. This could simply be the concatenatination of all the fields you want to contribute to the join. In your case this would be year, month and location


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

When i complete creation of the 3 relationship many to many, I face a problem in slicer funcionality between two tables.

So, when make slicer from (Working hours) Table, it doesn't reflect on (main) table.

Deku
Community Champion
Community Champion

That is because only 1 of your 3 relationships is active, and only one can be active. You need to create a single column that can deal with the join.


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors