When shaping data, a common task is to keep or remove duplicate rows. The results are based on which columns you select as the comparison to determine duplicate values is based on the data selected.
-
To open a query, locate one previously loaded from the Power Query Editor, select a cell in the data, and then select Query > Edit. For more information see Create, load, or edit a query in Excel.
-
Select a column by clicking the column header. To select more than one column press Shift + Click or Ctrl + Click on each subsequent column. The columns can be contiguous or discontiguous.
-
Select Home > Remove Rows > Remove Duplicates.
-
To open a query, locate one previously loaded from the Power Query Editor, select a cell in the data, and then select Query > Edit. For more information see Create, load, or edit a query in Excel.
-
Select a column by clicking the column header. To select more than one column contiguously or discontiguously, press Shift+Click or CTRL+Click on each subsequent column.
-
Select Home > Keep Rows > Keep Duplicates.