Forum Discussion
Can´t create a relationship between two columns because one of the columns must have unique value
- 10 years ago
KSveigaard basically what that error is complaining about is that relationship you're trying to create from column within 'FROM' table to your column in 'TO' table has issue. one of that column must have unique product numbers. you can't have Many to Many relation but only One to Many or Many to One relation. So ensure that one of the table has unique product numbers and then there won't be any issue.
I am having the same issue but the solutions offered on this page are not solving the problem. Any other suggestions?
In spreadsheet 1 my column is: Account Name
In spreadsheet 2 my column is: Account Name
There are not duplicates, nor are there any blanks.
I have the exact same issue. No redundant data, no null rows... Thanks in advance for whoever may help us!
- MassimoSolcia9 years agoRegular Visitor
Same here, but I got it: in the Excel the table has no NULL, but when loaded in PowerBI I found rows with NULL.
Go to in the Data View and order ascending the column, nulls should appear on TOP.
Cleared the NULLs, I'm able to create the relationship.
Hope it helps,
Massimo
PowerBI Desktop Version 2.46.4732.721 32-bit (may 2017)