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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.