Remove duplicates

Removes all rows from a Power Query table where the values in the selected columns duplicate earlier values. The row with the first occurrence of a value set is not removed.

For example, a table has four columns.

Remove Duplicates 1

Select Column2 and Column4 then select Remove Duplicates. The third row is removed because the values in Column1 and Column4 are the same in both instances.

Remove Duplicates 2

To remove duplicates

  • In the Query Editor preview grid, select columns.

Using the Query Editor ribbon

  • In the Query Editor ribbon, click Remove Duplicates.

Using the Query Editor context menu

  • In the Query Editor ribbon, click Remove Duplicates. You can also right click and click Remove Duplicates.

Applies To: Excel 2013, Excel 2010

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language