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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Problem updating data - duplicate values

Hello Community,

This is my first post, I come here after trying several days to solve my problem.

The problem is as follows:

I have a problem updating my data, the error I get is :

The "Gpo.art." column in the "Article Group" table contains the duplicate value "001012", and this is not allowed for columns on one side of a many-to-one relationship or for columns that are used as the primary key of a table.


1. I don't have any duplicate values in that table
2.I already checked that my relationships are well set up from 1 to many.

I don't know how to solve it, any idea?

Thanks in advance,
Eb

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Syndicate_Admin 

The only possibility is you have multiple blank values in the column, power bi also recognizes multiple blanks as duplicated value. 

 

1. Remove the duplicated blanks if you can.

2. If your model does not let you do that, you can create a bridge table (Distinct table = Distinct(Table[column]). Then connect this table with the original 2 tables.

Vpazhenmsft_0-1628561570900.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Syndicate_Admin 

The only possibility is you have multiple blank values in the column, power bi also recognizes multiple blanks as duplicated value. 

 

1. Remove the duplicated blanks if you can.

2. If your model does not let you do that, you can create a bridge table (Distinct table = Distinct(Table[column]). Then connect this table with the original 2 tables.

Vpazhenmsft_0-1628561570900.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

 

 

AlexisOlson
Super User
Super User

It sounds like you do have duplicated data. How did you check that you don't?

 

If you go to the Data pane and select the column in question, does it give the same number for rows and distinct values?

AlexisOlson_0-1628198010292.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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