Forum Discussion
Sorting Slicer to Month
Hi guys,
I have having difficulties sorting the month in my slicer.
Above is how it looks on the report.
Below is the data, i tried to change the data type to date but i get an error.
Please help!!!
Thanks,
- Anonymous8 years ago
Since you already have your month numbers, this will be very easy for you.
Select your Month column, then select the Modeling tab at the top ribbon, then use the "Sort by Column" option to select the MonthNo column. This is happening because a text field will sort itself alphabetically by default, but you can instruct that column to sort by the numbers in your MonthNo column.
EDIT:
Here's a quick demonstration:
default sorts the first column alphabetically
"Sort by Column" selection on Rank
Now default sort for the first column is by the associated rank
6 Replies
- AnonymousNot applicable
Since you already have your month numbers, this will be very easy for you.
Select your Month column, then select the Modeling tab at the top ribbon, then use the "Sort by Column" option to select the MonthNo column. This is happening because a text field will sort itself alphabetically by default, but you can instruct that column to sort by the numbers in your MonthNo column.
EDIT:
Here's a quick demonstration:
default sorts the first column alphabetically
"Sort by Column" selection on Rank
Now default sort for the first column is by the associated rank
- tainguyenFrequent Visitor
Thank you for the quick respondse!
Ive made the changes and sort the column by MonthNo.
I then went back to the report and still unable to sort it to MonthNo.
I believe that the months have moved though....- AnonymousNot applicable
That's odd. Are you 100% certain that you sorted that column by your "MonthNo" column?
I just verified that a slicer will also pick up on the Sort By option selected. Maybe you need to deselect the "Sort by..." option on the visual itself. Also, check to see what happens when you put them on a Table visual next to their MonthNo with nothing sorted.