Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Removing Dupes Using Power Query

Hi all,

 

I'm working with a bunch of COVID-19 open source data (see sample below). There's some duplicate values for one particular date that I would like that remove. Is there a way to filter to this date, remove duplicate values, then unfilter the date (to retain the original dataset minus the dupes), and then apply?

 

At the moment if I filter the TimeStampDate column to the date, I'm forced to apply that filter to the dataset when I close and apply (ie the dataset is now only one date). I'm sure there's a simple solution to this but I'm new-ish to PBI so it's not apparent to me.

 

Appreciate the help!

 

custerdome_0-1670864051232.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You may consider using the following steps.

1. Add a index column.

vcgaomsft_0-1670911676085.png

2. Duplicate the table.

vcgaomsft_1-1670911706814.png

3. In Table(2)-->Filtered rows.

vcgaomsft_2-1670911773274.png

4. Select the columns to be de-duplicated --> Keep duplicates.

vcgaomsft_3-1670911838391.png

5. In Table --> Merge queries.([Index]--[Index])

vcgaomsft_4-1670911976639.png

6. expand [Index].

vcgaomsft_5-1670912042909.png

7. Filtered rows and remove rows.

vcgaomsft_6-1670912075928.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

You may consider using the following steps.

1. Add a index column.

vcgaomsft_0-1670911676085.png

2. Duplicate the table.

vcgaomsft_1-1670911706814.png

3. In Table(2)-->Filtered rows.

vcgaomsft_2-1670911773274.png

4. Select the columns to be de-duplicated --> Keep duplicates.

vcgaomsft_3-1670911838391.png

5. In Table --> Merge queries.([Index]--[Index])

vcgaomsft_4-1670911976639.png

6. expand [Index].

vcgaomsft_5-1670912042909.png

7. Filtered rows and remove rows.

vcgaomsft_6-1670912075928.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

HotChilli
Super User
Super User

It's possible but you wouldn't normally remove duplicates this way.

What duplicates are you trying to remove? Are they visible in the picture?

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors