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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AlexeyRusinov
Helper II
Helper II

Many to Many relationship by multiple fields

Hello everyone,

 

I have two tables, from different data sources, and I need to match them. There is no simple id match, instead there are multiple fields, and I need to keep only those combinations, which match completely.

Ideally, I want something like this:

Should be.png

 

But as far as I understand, I cannot make muliple many-to-many relationships between two tables, Power BI says it's ambigious.

Instead, what I can do, is make a table of unique combinations of fields that I need to match, and make a single connection by this field. But it makes my solution slow and big. Something like this:

Could be.png

 

Is there a way how I can make it option 1, and not option 2? Please help

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@AlexeyRusinov wrote:

Hello everyone,

 

I have two tables, from different data sources, and I need to match them. There is no simple id match, instead there are multiple fields, and I need to keep only those combinations, which match completely.

Ideally, I want something like this:

Should be.png

 

But as far as I understand, I cannot make muliple many-to-many relationships between two tables, Power BI says it's ambigious.

Instead, what I can do, is make a table of unique combinations of fields that I need to match, and make a single connection by this field. But it makes my solution slow and big. Something like this:

Could be.png

 

Is there a way how I can make it option 1, and not option 2? Please help


@AlexeyRusinov

Your understanding is correct, the option 1 is not a correct relationship, not only in Power BI. I don't know what exactly the problem when using Option 2 in your case, however you could also try

Capture.PNG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors