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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to create relationship between these tables

Hi Everyone,

 

I have two tables with only the supplier names field common in both, however I am trying to join them so that I can show the Spend Value in the Product table but I couldn't. I tried to use the RELATED or RELATEDTABLE functions but It didnt wont as both table could not connect in the model (here's the message I receive when I try: "you can't create a relationship between these two colums because one of the columns must have uniques values").

 

Your assistance will be highly appreciated!

 

Supplier Table:

Supplier NameSpend
AG Enterprises$4500
 Lenix$6000

 

Product Table:

Product IDSupplier NameQuantityPurchase Date
1AG Enterprises4421-01-2020
2Lenix6722-01-2020
3AG Enterprises3327-01-2020
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

you can try to create a bridge calcualted table

bridge Table = DISTINCT(Supplier Table[Supplier Name])

then relate it to both of your tables


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Anonymous 

you can try to create a bridge calcualted table

bridge Table = DISTINCT(Supplier Table[Supplier Name])

then relate it to both of your tables


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

It worked perfectly! Thanks.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors