Forum Discussion
New October Date Slicer still cannot sort month names correctly on Charts
- 9 years ago
Create a new column by right clicking your table and use the below DAX Formula
MonthNo. = MONTH(YourTable[Date])
Followed by this, Select the Month Name Column in the Datatab View, Go to the Modelling Tab and Choose Sort by Column, Select MonthNo..
This will sort your month names by the month no. . FYI- Default sorting is A-Z which makes month names sorting alphabetically.
See the screenshot.
SORT BY COLUMN
- 9 years ago
It worked great!!! Thanks very much BhaveshPatel
Thanks BhaveshPatel, you mean the month column and also and ID number Column for each month? Have not used the DAX solution before, if you have some steps it would be great. Thanks again!
Create a new column by right clicking your table and use the below DAX Formula
MonthNo. = MONTH(YourTable[Date])
Followed by this, Select the Month Name Column in the Datatab View, Go to the Modelling Tab and Choose Sort by Column, Select MonthNo..
This will sort your month names by the month no. . FYI- Default sorting is A-Z which makes month names sorting alphabetically.
See the screenshot.
SORT BY COLUMN
- figo129 years ago
Helper I
Thanks!! BhaveshPatel I will give it a try!
- figo129 years ago
Helper I
It worked great!!! Thanks very much BhaveshPatel
- walterosLP9 years agoFrequent Visitor
Hi there,
I am running in the same issue on PowerBI [November update], trying to sort month in a Slicer, drop-down list and even Weekdays from the same table.
However, even I did sort them correctly, non of both lists does any sort at the report view and show it in a list by random.
What can be wrong?