remove_duplicates
Remove duplicate rows or duplicate values in specific columns from a Power BI table by adding Table.Distinct to the M query. Keep one row per unique combination.
Instructions
Power Query Remove Duplicates: keep one row per distinct combination. Appends Table.Distinct to the table's M query. Pass columns (comma-separated) to dedupe on those columns only; omit to dedupe whole rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| columns | No | columns to dedupe on, comma-separated (omit for whole-row distinct) | |
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |