Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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 @Anonymous
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 @Anonymous
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 34 | |
| 33 | |
| 30 |