- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Matrix Column Head Order
Hi have Data of Year field in below format
Year
2019-20
2020-21
2021-22
2022-23
But when I used this field in Matrix column giving as But business expecting 2021-22 first then 2020-21 also the values based on Year column. I tried various option but since this data with 2020-21 as not number I unable to do that. Please help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi
Since you asked sample data , I provided in below also attached Screenshot to better understand the requirement that column order should be in below for matrix in power bi.
For ex: if user selectes 2021-22 then order of matrix column should be 2021-22 then 2020-21 .. Currently it's showing 2020-21 then 2021-22 ..
Also below fiscal year is dynamic , Should not be any static / constant values ..can expect new fiscal year 2023-24 .. In this case should display 2023-24 first then 2022-23 . Any solution will be much appreciated ..
Asset Type | Metric Name | Fiscal Year | Amount |
Internal | Property | 2020-21 | 4500 |
Internal | Property | 2021-22 | 3400 |
Internal | Property | 2022-23 | 2600 |
Internal | Equipment | 2020-21 | 5366 |
Internal | Equipment | 2021-22 | 7400 |
Internal | Equipment | 2022-23 | 4300 |
External | Property | 2020-21 | 3233 |
External | Property | 2021-22 | 3400 |
External | Property | 2022-23 | 3244 |
External | Equipment | 2020-21 | 5366 |
External | Equipment | 2021-22 | 300 |
External | Equipment | 2022-23 | 3244 |
Cash Equivalants | Property | 2020-21 | 3233 |
Cash Equivalants | Property | 2021-22 | 3244 |
Cash Equivalants | Property | 2022-23 | 3243 |
Cash Equivalants | Equipment | 2020-21 | 7465 |
Cash Equivalants | Equipment | 2021-22 | 8366 |
Cash Equivalants | Equipment | 2022-23 | 8466 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @srisiva55 ,
You can create a dimension table with the proper orders as below:
Then sort the column [Year] by [Order], create a visual as below screenshot. Please find the details in the attachment.
In addition, you can refer the following link to get it:
Sort a Column with a Custom Order in Power BI - RADACAD
If the above one can't help you, could you please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 03-08-2024 04:41 AM | ||
08-05-2024 11:49 AM | |||
09-17-2024 12:38 PM | |||
08-06-2024 06:22 PM | |||
09-11-2024 01:20 PM |
User | Count |
---|---|
109 | |
90 | |
82 | |
55 | |
46 |