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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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