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!
Idrissshatila
2 years agoSuper User
Hello JennaExe ,
I got you an easier approach, sort the column you made by date as in the screenshot
JennaExe
2 years agoHelper I
Thank you, but sorting the column in Reports doesn't impact on how the dates sort in my graphs, they are still alphabetical??
- Idrissshatila2 years agoSuper User
- JennaExe2 years agoHelper I
It might on a table, but on my graph it's still like this: