Forum Discussion
Sorting Slicer to Month
- 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
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.
Here is the table visual with the month without sorting.
:smileysad:
- tainguyen8 years agoFrequent Visitor
Ive fixed the problem!
I didnt set a data type for the MonthNo column. Stupid me
Thank you for your help!!
- swarnalakshmi8 years agoRegular Visitor
I have set the slicer to sort by month no and i have set the month number to Whole number data type still the sorting does not happen. Can you guys help. TIA Swarna