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
Tcook
9 years agoAdvocate II
The solution is far easier than I thought.
Steps
- In the "Fields" pane, click on the field that is being dispalyed.
- On the "Modeling" tab, click "Sort By Column".
- Chose the column that you want to sort the displayed field by.
- Viola
Anonymous
7 years agoNot applicable
Thanks Tcook !!! From all posts I've read, this is the only way it's working. And yes it is so simple...