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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 31 | |
| 30 | |
| 27 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 57 | |
| 40 | |
| 28 | |
| 24 | |
| 20 |