Forum Discussion
JennaExe
2 years agoHelper I
Custom date format
Hi, I want to shorten the dates on my graphs from e.g. "September 2023" to "Sep-23". I found a way to do this online, by creating a new column in the modelling tab and using the formula Short_Date = ...
- 2 years ago
Hi JennaExe ,
You have created MonthYear column.
Now create a new column by this formulaSortkey = FORMAT('Date'[Date], "yymm")Then sort your month year column by this SortKey column.
SortingOutput
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
cherrybi_com
2 years agoFrequent Visitor
Hi
Create another calculated column
Month = MONTH(‘Table name'[Date]).
And then sort this Month column and you will get the desired result.
- Idrissshatila2 years agoSuper User
Hello cherrybi_com ,
it won't work like this because what you suggested would sort by month only so it would be like Jan 23 - Jan 24 beside each others, and he wants to sort by month year.