Forum Discussion
Anonymous
5 years agoNot applicable
In Power Query Editor, how to remove the duplicates while also removing the original
Hi all, I am now at Power Bi's Power Query Editor, I like to delete all the rows that I marked red, they are duplicates, if I do right click and remove duplicated, one of the duplicates ...
- 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.
Rigensis
5 years agoResolver I
Anonymous If the only instances you want to delete are the ones visible in the screenshot, you might just filter out the rows that you do not want, using the 'identifier' column.
P.S. The last red brackets in the picture aren't actually duplicates 🙂
Anonymous
5 years agoNot applicable
thank you for your reply!
Unfortunately, I really need to filter those rows out programatically. Those red lines are the rows that our shippers ship by mistake.
Do you know other solutions ?