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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ilcaa72
Helper IV
Helper IV

How to make a relationship, no distinct columns

hello,

 

i have 2 tables.  Table 1 = 764 rows, Table2=9384 rows.

 

i keep getting error messages saying " relationship cannot be created, because 1 of the columns must have unqiue values"  through 1 does have have unique values...

 

any otpions?  thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

If there is even one of the values repeated it is not Unique.

 

Manually set the relkationship:

Go to the Schema View 

Click on Manage Relationships

Select the table with Many data points (top section), highlight the column to link

Select the table  with unique values (bottom Section), highlight the column to link

Cardinality: Many to one

Cross Filter direction: Single

 

If that doesn't work you may have to make a table to go between them that has nothing in it but the unique values. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ilcaa72,

 

Your table with unique values must not include a blank row.

Can you check whether this is the case?

 

If you create a table with twice the key in the columns, once as text and once as count, you can check whether certain values appear twice or if your table includes blank rows.

 

Regards,

 

Valérie

Anonymous
Not applicable

If there is even one of the values repeated it is not Unique.

 

Manually set the relkationship:

Go to the Schema View 

Click on Manage Relationships

Select the table with Many data points (top section), highlight the column to link

Select the table  with unique values (bottom Section), highlight the column to link

Cardinality: Many to one

Cross Filter direction: Single

 

If that doesn't work you may have to make a table to go between them that has nothing in it but the unique values. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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