Forum Discussion
Anonymous
3 years agoNot applicable
Consolidate Rows Aggregating some columns and keeping the first record for another column
I have multiple rows of data that I need to consolidate into one row. Some columns are aggregated (Sum) and ONE column has different values but I need to maintain ONLY the first value. My data ...
- 3 years ago
Hi there,
you can try getting what you want in Power Query,
Transform-Group By-Advanced- for the name pick Max/Min as aggregation, for the amount-sum.Once done, go to M-Code and change Max/Min to the First.
and there you have it.
Hope that helps.
olgad
3 years agoResident Rockstar
Hi there,
you can try getting what you want in Power Query,
Transform-Group By-Advanced- for the name pick Max/Min as aggregation, for the amount-sum.
Once done, go to M-Code and change Max/Min to the First.
and there you have it.
Hope that helps.
Anonymous
3 years agoNot applicable
olgad THANK YOU SO MUCH!! It worked PERFECTLY!!