Forum Discussion

Trahan-Almighty's avatar
Trahan-Almighty
New Member
1 year ago
Solved

Remove duplicate rows and keep most recent year

Hi everyone,

 

When I try to remove remove duplicates row, the highest year is deleted, in this case 2025. I wish that the most recent year is always kept, and the other ones deleted. 

 

P.S: I already saw similar solved posts with this issue, but I still have trouble finding the right way to resolve this issue. 

 

Could you please help me?

 

Many thanks!

 

Current table

Vendor NumberYear
214007992023
214015402021
214012242022
214007992025
214001962022
9982021

 

Expected result: 

Vendor NumberYear
214015402021
214012242022
214007992025
214001962022
9982021

 

 

  • Consider using the query editor this way: I grouped the data by specific criteria.

     

     

1 Reply

  • Consider using the query editor this way: I grouped the data by specific criteria.