Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Power-Bi Experts,
When I create a Matrix table and have the column headers as the dates, I know how to sort these into Jan, Feb, March, etc.
But...
How do I sort to show Dec 2022, Nov 2022, Oct 2022, etc, etc.
The table contains dated columns from now (Dec 2022) to Sept 2019 (one month per column)... so I need Dec to show first (on the left) and then every month (in order) as I scroll to the right.
Any ideas?
Solved! Go to Solution.
Hi @DavidM6051
Add these two columns to your table
Month Year = FORMAT([Date],"mmm yyyy")Year Month Sort = -1 * (YEAR([Date])*100+MONTH([Date]))
Then sort "Month Year" column by "Year Month Sort" column. Sort one column by another column in Power BI
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Hi @DavidM6051
Add these two columns to your table
Month Year = FORMAT([Date],"mmm yyyy")Year Month Sort = -1 * (YEAR([Date])*100+MONTH([Date]))
Then sort "Month Year" column by "Year Month Sort" column. Sort one column by another column in Power BI
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 100 | |
| 39 | |
| 29 | |
| 29 |