Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am playing with time intellgence functions. I added an auto calendar with the calendarauto function and then added a year and month to that table with dax. I related the date table to another table with loan information. Then I did a totalytd for loan amount by year and month from the date table.
The table sorts by year but alphabetically by month which is poor formatting to show ytd. How can I get the months to sort chronologically?
Solved! Go to Solution.
You need to add a numeric MONTH([Date]) column and have your text month sort by this column.
You need to add a numeric MONTH([Date]) column and have your text month sort by this column.
Can you put a sort hierarchy on tables - to sort by more than one column? Sorting on month an then sorting on year worked ok here but are there options for "tiering" sorts?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 38 | |
| 31 | |
| 27 |