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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
synMo
Frequent Visitor

Many to many relationship not working

Hello,

 

I have a dataset with combined data load (import and direct query). I want to create a m:n relationship between to tables. But it is not possible because Power BI tells me that a dublicated value exists in my "1"-side table. But I don't want to create 1:n relationship. I cannot create this relationship, I tried the drop down way and I tried to create the relationship in the "create relationship" window.
Here is a screenshot:

synMo_0-1651141765834.png

Did anyone face a similiar issue? Is there a fix?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@synMo , You should be able to create m-m relation. Please delete any existing join between these two tables. Make sure the data type of the columns is the same. and then try again

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@synMo , You should be able to create m-m relation. Please delete any existing join between these two tables. Make sure the data type of the columns is the same. and then try again

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Okay thank you. I deleted all relationships to the direct query table and now it works. The error message was a bit confusing when I was using a m:n relationship.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.