Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213989

date Sorting

$
0
0

 

 

 

Hello,

 

I created the following columns and was confused with the sorting of the Month/Year .

I still keep ketting February prior to January. Any thoughts

 

 

M/Y SORT = IF(MONTH(Query[DATE_TIME]) < 10, YEAR(Query[DATE_TIME]) & 0 & MONTH(Query[DATE_TIME]), YEAR(Query[DATE_TIME]) & MONTH(Query[DATE_TIME]))

 

/*HIREARCHIES*/
Month/Year = FORMAT(Query[DATE_TIME], "YYYY-MMM")
Week = WEEKNUM(Query[_DATE_TIME], 1)
DD = FORMAT(query[_DATE_TIME], "DD")


Viewing all articles
Browse latest Browse all 213989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>