Forum Discussion
Anonymous
2 years agoNot applicable
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
4 Replies
- JadhavVarsha_13
Helper V
Hello Anonymous try changing relation using model view
- AnonymousNot applicable
Unfortunately not, but after that I redesigned my approach and bypassed the issue
- AnonymousNot applicable
- Pizamka0Frequent 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