Forum Discussion
Jolyon
Helper III
9 years agohow to sort Date (MonthYear column)?
Hello, need urgent help of yours: I have a column Date (e.g. 01.01.2016), then I added columns Month and Year and concatenated them to get the column MonthYear(e.g. January2016): No...
tringuyenminh92
Memorable Member
9 years agoHi Jolyon,
In case you want to sort by Year and Month of date, you could add Calcuated column for YearMonthInt as:
YearMonthInt = Dates[Date].[Year]*100 + Dates[Date].[MonthNo]
Then choose MonthYear column and choose sort by YearMonthInt column.
If this works for you please accept it as solution and also like to give KUDOS.
Best regards
Tri Nguyen
SA_NYC
Advocate I
6 years agoWow, I'd been looking what felt like everywhere for an answer to this problem, somehow no other site or video suggested that trick of multiplying the year by 100, that's what made it work for me. More than three years after you wrote the post, too. Thanks!