Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
I have a Matrix with a date-month in string format (text):
I want to sort it in the correct rank (top-down). The rersult should be:
2017-12
2017-11
2017-10
...
2017-1
2016-12
2016-11
...
I can only use this sort options:
Please help!
Many thanks
Solved! Go to Solution.
Maybe what you can do is extract the year from your column with
Year = LEFT(YourColumn;4)
And do the same for your Month
You will have two columns that will be more easy to order
- Quentin
Hi @jup0
Did you try to go to the data tab, click the Modelisation tab and then click on "Sort by column" ?
- Quentin
Yes - but no expected result: ![]()
No - this is only 1 table - exported by another user.
I cant change the sql statement and import the data again. - i only got this table.
Maybe what you can do is extract the year from your column with
Year = LEFT(YourColumn;4)
And do the same for your Month
You will have two columns that will be more easy to order
- Quentin
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 58 | |
| 31 | |
| 25 | |
| 25 |