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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Whatever2
Helper I
Helper I

relationship unique value

hello everyone 

I'm trying to create a table that contains 2 related ID but when i try to link it to my other table i get this message :

try jointure.png 

does anyone know how to tell Power bi it's okay not to have unique values ?

 

thanks in advance 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey, 

 

currently it' not possible to create a relationship between two tables where no table has unique values in the column that defines the relationship.

 

Maybe you can consider the following:

Create an extra table that just contains one column that holds unique values for "quote_no"

You can use the DAX function DISTINCT  to create this table.

This table than can be used to indirectly connect the other two tables.

 

Here is an article that describes how different "fact" tables can be related, don't get confused by the title of the article.

 

Hopefully this gives you an idea

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey, 

 

currently it' not possible to create a relationship between two tables where no table has unique values in the column that defines the relationship.

 

Maybe you can consider the following:

Create an extra table that just contains one column that holds unique values for "quote_no"

You can use the DAX function DISTINCT  to create this table.

This table than can be used to indirectly connect the other two tables.

 

Here is an article that describes how different "fact" tables can be related, don't get confused by the title of the article.

 

Hopefully this gives you an idea

 

Regards

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Oops it does actually work with my slicer , my bad 

i could still use the article thought

thanks for you response 

 

but your trick to create one table with only the quote_no doesn't to work for me , i manage to create the relation between the table but my slicer don't work .

 

aswell i think you forgot the link to the article you're talking about 

 

regards 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.