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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sevastr
New Member

Problem with relationship

Hi

I create table with Unique Value in Power Query Editor (made Table.Distinct)

Then i tryed to create relationship with source table but power bi tells me that there is error with many-to-many connection.

But i am sure that table only with unique fields. Can you help me what is problem?

ThanksZhfYNXEmWm.gif

3 REPLIES 3
Icey
Community Support
Community Support

Hi @sevastr ,

 

Please share us your .pbix file, removing real data and sensitive information. 

It is suggested to upload your file to OneDrive for Business and then paste the link here.

 

 

Best Regards,

Icey

speedramps
Super User
Super User

Hi sevast

 

If you read the message very careful I think it is says only use many-to-many is the table key is not unique 

 

In the relationship dialogue box try change the default cardality from many-to-many to one-to-many.

 

Please leave kudos if this soution works, thank you.

 

 Good luck!

Try the bridge table. Let's say you have two tables i.e. Table A and Table B.

Create a new table via desktop:

key Table= Distinct(Table[Your Key Column])

Then join the Table A with Key Table and then Table B with Key Table.

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Solution Authors