Forum Discussion
sanoraya
10 years agoFrequent Visitor
Sorting the Slicer
Hi, I am struggling with how to sort the slilcer the way I need: I have a table like this: Number Month 1 Jan 2 Feb. 3 March etc... The slicer only al...
- 10 years ago
sanoraya - To order your months by a number range I go to the data tab in Power BI desktop:
In the ribbon you will see the Sort By Column button. Select the column you are interested in first (in my picture it would be Months), then click the Sort By Columns button.
Now you need to have a column which lists the months in the numeric order you want. For example, January will always show up as 1. In the sort by column button you will then need to click the appropriate column containing the month numbers.
This will then sort your slicer the way you want.
Thanks,
Giles