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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 68 | |
| 66 | |
| 64 |