Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
This one is an oldie but a goodie. I've not found a solution to something that seems like it should be straightforward. Lots of posts on how to do this but they are not working for me.
I have table that has some dates. It's not a Calendar table, just some dates.
I have a SortOrder column that is sorted in the table and in the visualization.
February 2024 should appear first, then January 2024, etc. The dates go back to July 2023. I always end up with the axis sorted by Month Name.
What am I doing wrong?
Solved! Go to Solution.
Hello @ICW1972 ,
if you want to only sort the months in the slicer , then you click on the month column and sort by month number
Proud to be a Super User! | |
Solution is here:
https://community.fabric.microsoft.com/t5/Desktop/Name-of-Month-in-Slicer-is-not-in-right-order/td-p...
You have to click on the table column and select a different sort column. Very confusing for me personally.
Solution is here:
https://community.fabric.microsoft.com/t5/Desktop/Name-of-Month-in-Slicer-is-not-in-right-order/td-p...
You have to click on the table column and select a different sort column. Very confusing for me personally.
Hello @ICW1972 ,
if you want to only sort the months in the slicer , then you click on the month column and sort by month number
Proud to be a Super User! | |
Not really. If I have two July months (2023, 2024) that doesn't work. That's why there is a SortOrder column to provide distinct values.
I tried your suggestion anyway and it doesn't sort.
Thank you for replying though!
@ICW1972 ,
So you need to have a year/month column as the following:
year/month = format('YourTablename'[dateColumn],"mmm YYYY")
year/month sort = format('YourTablename'[dateColumn],"mmYYYY")
and sort the year/ month column by the year/mont sort.
Proud to be a Super User! | |
Whether I sort by a distinct number or your suggestion is immaterial. The SortOrder should be observed now without changing anything and it isn't.
I tried a simple case of manually creating a table with a few rows and it still cannot sort by the SortOrder column even if it's hardcoded (1, 2, 3, 4). It's one of those things in Power BI that ought to be straightforward.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
52 | |
39 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |