Forum Discussion
Month Abbreviation
Hello Br1bn after created the new column of abbrv, go to your tables,
Create a new sort column
Sorting = format([date],"yyyymm")
Now
Select the added column of abbrv, and press on sort column, and choose the sorting added column
I created a new column:
Month_Sorting = format(Data[Date],"yyyymm")Then I clicked on the column "Month Short" and then I went to "Column Tools":
but tring sorting by the "Month Sorting" I got this error message
- ghaines3 years ago
Resolver I
The sorting is set up staticly on the whole table, not in the context of your visual. The problem is that there are multiple values of month_sorting for each Month
e.g. for June, Jun corresponds to 202206 and 202106. When there are similar multiple values for the other months, it doesn't know how to perform the sort.
Either use Format(..., "MMM") for short month and Format(...,"mm") as your month_sorting
and always have a year filter in effect where it is usedor
use Format(..., "MMM yyyy") for short month and Format (..., "yyyymm") as your month_sorting but this will change your display output.