Forum Discussion
In Power Query Editor, how to remove the duplicates while also removing the original
- 5 years ago
For that, you need to do an extra thing.
In step 1 of grouping, go to Advance section and add an aggregation to get all rows. Something like this:
2) Then filter out the rows having Duplicates count as 1 as below:
3) Then expand other columns as below:
The end output will give you all your required columns.
you need to add each column in the grouping function, see the example are in basic, select advance and you can add more columns, add them to your grouping function.
StefanoGrimaldi
If I did what you said, I add all other columns as my "filter by". but in this case, I only want to filter by "identidier" column, I just want to use "identifier" column to filter all the rows, and keep all other columns
- StefanoGrimaldi5 years agoResident Rockstar
you add all the columns, and created the new column as before, in advance you select in the first section all the columns, in the second section you add a new costum column using the reference column with the countrows. this will give you the amount its duplicated and them filter those bigger tham 1.