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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
ahooee
Frequent Visitor

Duplicate value does not allow me to progress with my data transformation.

Hi

I am trying to tarsform my data in Power BI but when I apply my chages it stops me with this message that one of my columns "contains a duplicate value '0' 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".

 

What options do I have to solve/bypass this and get on with my changes?

 

Thanks

Reza

 

 

Screenshot 2023-09-15 143141.jpg

 

4 REPLIES 4
Pizamka0
Frequent Visitor

In PowerQuery view go to 'Add Column', click on 'Index Column'. Close PowerQuery and go to the modeling view. Click on the table and in properties set the Index Column you have just created as Key column

ahooee
Frequent Visitor

Hi JadhavVarsha_13

As you can see the table has no relathionship with any other table!

 

Screenshot 2023-09-15 160923.jpg

Hello @ahooee  try changing relation using model view 

Unfortunately not, but after that I redesigned my approach and bypassed the issue

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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors