Forum Discussion
wes-shen-poal
8 years agoHelper III
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 code...
- 8 years ago
Hi,
You may use the Group By feature and take the maximum of the DateTo column.
- 8 years ago
As Ashish_Mathur suggsted, just have your records group on Code level with max aggregation on Date column.
Regards,
Ashish_Mathur
8 years agoSuper User
Hi,
You may use the Group By feature and take the maximum of the DateTo column.