This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello, I'm trying to get my matrix visual to sort in month's order but since the month names are in text, it's automatically sorted alphabetically. I have tried several methods to fix this but none of them helped:
1. I added a Data table which has the month IDs and joined it to the Month column on my main table ... did not work. I'm unable to sort in the main table as my source is DirectQuery.
2. Created a calculated column via Dax (see below) so this can be used instead. However, I'm just getting a "circular dependency" error was created instead when trying to sort Month by the Month_Number column.
Thank you
Solved! Go to Solution.
The simplest way is to use dates instead, and format the date as "mmm".
The simplest way is to use dates instead, and format the date as "mmm".
I don't know why I didn't think of this sooner. This worked so well, thank you!
Basically I added my "Date" column to the "Columns" section of the matrix, and removed Year Quarter and Day and it stays in order!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 33 | |
| 23 | |
| 23 |