Forum Discussion
Sort Month and Year in Chronological order
- 6 years ago
Create a sort column and mark it as sort column
Sort moth year = format(date[date],"YYYYMM")
Appreciate your Kudos.
- 6 years ago
Hi Anonymous ,
After creating the sort column, did you do this operation?
After sorting by YearMonth column, Month & Year column will sort correctly in your visual.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 6 years ago
Anonymous ,
I hope you created the column in the same table. And you have to click on the column you want to change sort order. ie the old month year. I have given screenshot where is sort option. In new ribbon, it is under column properties.
Also make sure visual is sorted on month year(the column which you have used in visual)
OLD
NEW
Appreciate your Kudos.
Hello,
I have difficulty on the same topic.
I am trying to create a slicer with Day, Week and Monthly view. However, when I try to get the names on the visual, the chronological order is missing. I amu nsure how to proceed from here.
Screenshot 1 : works fine (used "yearmonth number" to sort the column)
Screenshot 2 : chronological order is messed up.
please help me !