How can duplicates be removed in Power BI using an example?

Duplicates can be removed in Power BI by using the “Remove Duplicates” function. This function can be found under the “Transform” tab in the “Data” section. For example, if a dataset contains multiple entries for the same customer, the “Remove Duplicates” function can be applied to remove any duplicate rows and ensure that each customer is only represented once in the dataset. This helps to clean and organize the data, making it easier to analyze and draw insights from.


The easiest way to remove duplicate rows in a table in Power BI is to use the Remove Duplicates feature within the Power Query Editor.

The following example shows how to use this feature in practice.

Example: How to Remove Duplicates in Power BI

Suppose we have the following table in Power BI that contains information about various basketball players:

Notice that there are several rows that contain the same value for the Team and Position columns.

Suppose that we would like to remove the rows that have duplicate values across these two columns.

To do so, click the Home tab along the top ribbon, then click the Transform data icon:

This will bring up the Power Query Editor:

While holding Ctrl, click the columns named Team and Position. Then right click and click the option called Remove Duplicates:

Power BI remove duplicates

This will remove rows that have duplicate values across both the Team and Position columns:

When you exit out of the Power Query Editor, it will ask if you’d like to apply the changes you made to the original table.

Click Yes to apply the changes.

Additional Resources

The following tutorials explain how to perform other common tasks in Power BI:

x