Forum Discussion
How to sort date column based on each group
- Anonymous4 years ago
Hi AnushaH ,
Here's my solution.
1.Group by the Key column and select All Rows in the Opreation.
2.Add a custom column to sort.
3.Expand the new custom column and remove the unneeded column.
You can check more details from my attachment.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the Power Query select the drop down arrows on the top of the columns and sort asc or desc, when you sort several rows in order it will remember the sort order (by this then that etc). You will see a little 1, 2, 3 on the column headers specifying which order they have been sorted in;
Is this what your after?
Microsoft Link: https://support.microsoft.com/en-us/office/sort-data-power-query-baf200d5-1097-49cf-80b3-f1ce07b5f114
- AnushaH4 years agoFrequent Visitor
I want to order the period column within the group in asc