Forum Discussion

wes-shen-poal's avatar
wes-shen-poal
Helper III
8 years ago
Solved

keep row based on a column for duplicate IDs in Power Query

Hi there,

 

i have a data table with columns ServiceDirectionCode and DateTo

 

 

I would like this data table to give me all the different ServiceDirectionCodes, and for the duplicate codes, I only want to keep the row with the latest DateTo.

 

Is this possible to do in the Query Editor?

 

Thanks,

Wes

3 Replies