Forum Discussion
Removing Duplicated to create a relationship!!!
I am trying to create a relationship between 2 tables. and for all my might and anger I cannot get Powerbi to date the dataset, which I already removed duplicates for in Excel pre load to filter out the duplicates. Always xxx rows xxx -2 unqiue values!
In the query editor I have removed duplicates, removed blank rows, removed errors, Filtered> removed empty. NOTHING, very frustrating.
14 Replies
- AnonymousNot applicable
If you're trying to create a relationship between two tables, the matching columns that you're relating has to have unique values in at least one of the two tables. You haven't given any specifics about the tables you're trying to relate, so it's hard to give any advice beyond that.
- keyahormRegular Visitor
I have a table that has names and job titles, some names have the same job titles.
I than have another table which is the job titles and salaries, with no duplicate job titles. Therefore this list should be the unique one. Once I load into Powerbi, it says there are 39 rows 37 distinct value. Applying all the things in the original post does not make this list a unique set. What am I doing wrong...- kcantor
Community Champion
You must have a 'close' match. I would recommend (with such a small dataset) that you simply use the drop down arror for the column and scroll down it to see if you have any matches without capitol letters or spaces. I know you shouldn't have to and I know it is tedious but the last time this happened to me, it was picking up a couple of blank rows and another time, the words matched but the case did not.