Forum Discussion
Adam Underwood
Apr 06, 2018Copper Contributor
Power Query Table.Group Doesn't Keep Sort
I'm new to Power BI, so any help would be appreciated. I've gotten pretty far in my query building, but I'm stuck. Essentially I wanted to create a unique Index based on "PHN Combo" (i.e. PHN Combo...
- Apr 06, 2018
I seem to remember coming across this in the past and the "trick" was to add a normal index column after doing the sort, then after grouping you can delete the index column
Adding the index step seems to force Power Query to keep the sort order
Give it a go and let us know how you get on
Wyn Hopkins
Apr 06, 2018MVP
I seem to remember coming across this in the past and the "trick" was to add a normal index column after doing the sort, then after grouping you can delete the index column
Adding the index step seems to force Power Query to keep the sort order
Give it a go and let us know how you get on
- igreenhalghFeb 16, 2022Copper ContributorSeems to have worked for me! Thank you!
- Lilly_KapoAug 18, 2021Copper ContributorVery helpful tip! Worked beautifully.
- EddyBOOMar 23, 2020Copper Contributor
Wyn Hopkins Love in the time of corona! thank you.
- Adam UnderwoodApr 07, 2018Copper ContributorYou beautiful person...It worked! thank you!