Forum Discussion
Sorting by Month Number
After right clicking I dont see the month--> month option.
I am sorry, I was thinking that your data has a date column. What I posted works for Date fields.
You can do a switch kind of statement.
STEP1: In EditQuery, duplicate your month column to M# or any name. Close & Apply.
STEP2: Now create a new column this way...
column = IF(Table1[M#] = "January",1,
IF(Table1[M#] = "Feb",2,
IF(Table1[M#] = "March",3,
IF(Table1[M#] = "April",4,
IF(Table1[M#] = "May",5,
IF(Table1[M#] = "June",6,
IF(Table1[M#] = "July",7,
IF(Table1[M#] = "August",8,
IF(Table1[M#] = "Sep",9,
IF(Table1[M#] = "Oct",10,
IF(Table1[M#] = "Nov",11,
IF(Table1[M#] = "Dec",12 ))))))))))))
Now sort you Month column with the newly create column.
- rarora208 years agoRegular Visitor
Getting the same results. It's weird because if you look at the screenshots, after sorting only Oct Nov Dec are unsorted rest everything is sorted.