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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors