Forum Discussion
Sort Metrics Report Column
- 4 years ago
Hi Anonymous ,
Please try to add a custom column in Power Query and then change the type of the column to Whole Number.
Order_PQ = Text.End([Date], 4) & Text.PadStart( Text.Select( Text.Start([Date],3), {"0".."9"} ), 2, "0")Or add the calculated column.
Order_calculatedColumn = RIGHT ( [Date], 4 ) & FORMAT ( VALUE ( MID ( [Date], 2, 2 ) ), "00" )Then sort [Date] column by [Order_PQ] (or [Order_calculatedColumn]) field.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Please try to add a custom column in Power Query and then change the type of the column to Whole Number.
Order_PQ =
Text.End([Date], 4) & Text.PadStart( Text.Select( Text.Start([Date],3), {"0".."9"} ), 2, "0")
Or add the calculated column.
Order_calculatedColumn =
RIGHT ( [Date], 4 ) & FORMAT ( VALUE ( MID ( [Date], 2, 2 ) ), "00" )
Then sort [Date] column by [Order_PQ] (or [Order_calculatedColumn]) field.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
how can i sort like
dec-21 jan-22 feb-22 mar-22 apr-22 may-22 jun-22 jul-22 aug-22 sep-22 oct-22 nov-22 dec-22