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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nat365
Frequent Visitor

Why do I have a message about duplicated values in empty table

Hello,

I have a problem with relationship with empty table, because according to Power BI it has duplicates in one of its columns.

 

Message:"Column in Table contains a duplicate value '' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table."

 

I've already tried changing relationship to many-to-many but it wasn't applied

3 REPLIES 3
MAwwad
Super User
Super User

you have a relationship between two tables in Power BI, and one of the columns in the table on the one side of the relationship has duplicate values. This is causing an error because many-to-one relationships require that the column on the one side has unique values.

To resolve this issue, you will need to identify the duplicate values in the column and either remove them or merge them into a single row. You can do this by using the "Remove Duplicates" or "Merge Queries" features in Power BI.

Once you have resolved the duplicate values, you should be able to establish the many-to-one relationship between the tables.

nat365
Frequent Visitor

But a column that suppose to have duplicates has no values in it. Also this column isn't used to make a relationship.

Do you have and an advice for situation?

can you show me the table please ?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.