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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
donodackal
Helper I
Helper I

How to remove/filter out rows on the condition that every column for both rows have matching data?

Hi there, I receive weekly reports from our travel providers that I consolidate using power query. I find that there are some rows between several weekly reports that duplicate the same information. Is there a step I can add in the power query after consolidating all data to filter or remove any duplicate row only if data in all columns match another row? 

 

Please let me know if additional info is required. The below table is for illustration of the issue:

donodackal_0-1647317285365.png

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Thingsclump
Resolver V
Resolver V

Hi @donodackal 

 

In powerquery editor, select columns A to G and remove duplicates. It will remove duplicates if values in all columns are repeated. 

 

Thanks

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @donodackal 

 

@Thingsclump 's solution should work, have you tried that?

 

Below are detailed steps:

1. Hold press on Shift or Ctrl key and click on column headers to select all columns.

2. Go to Home > Remove Rows > Remove Duplicates.

vjingzhang_1-1647582709166.png

 

You can also enter = Table.Distinct(#"Previous step name") in the formula bar to add a step to remove duplicated rows in the whole table. 

vjingzhang_0-1647582659329.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thingsclump
Resolver V
Resolver V

Hi @donodackal 

 

In powerquery editor, select columns A to G and remove duplicates. It will remove duplicates if values in all columns are repeated. 

 

Thanks

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.