Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello. I need to remove duplicates "name" by date.
In the first case (Yuri Lorena), I need to keep just a row for 2022 -mayo-12.
In the second case (Yulman...), I need to keep the rows 2022-mayo-12 and 2022-noviembre-25
Thanks in advance
Solved! Go to Solution.
Good day ebersolorzano. The function you need is available from Power Query's UI, via the "Remove Rows" button. Select the columns which are to be considered for duplication. Click "Remove Rows" and from the sub-menu which pops up click "Remove Duplicates".
The Power Query documentation on removing duplicates is here and the "BI Gorilla" has a complete guide here.
I reproduced your data, brought it into Power Query...
and then applied the solution to give...
The M code is...
= Table.Distinct(#"Name of Previous Step", {"Name", "Year", "Month", "Day"})...the columns being considered in the duplication are listed between the curly brackets.
Good day ebersolorzano. The function you need is available from Power Query's UI, via the "Remove Rows" button. Select the columns which are to be considered for duplication. Click "Remove Rows" and from the sub-menu which pops up click "Remove Duplicates".
The Power Query documentation on removing duplicates is here and the "BI Gorilla" has a complete guide here.
I reproduced your data, brought it into Power Query...
and then applied the solution to give...
The M code is...
= Table.Distinct(#"Name of Previous Step", {"Name", "Year", "Month", "Day"})...the columns being considered in the duplication are listed between the curly brackets.
Thanks a lot. It works.
Thanks. The issue was solved.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 7 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 13 | |
| 11 | |
| 9 |