Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
joaoandrebs
New Member

Change the order of the matrix columns

I have a database that has some "codes" that are from the Statement column. These codes, as in the first image, need to be in this sequence of PI-1, PI-2, PI-3... (I have 62 of these codes for each Area and Time = "Team" and english).
Ok, so far so good, but I wanted to make a matrix, based on these codes, and for some reason they come in alphabetical order (image 2).
I've tried everything but I haven't found a way to change this.

joaoandrebs_0-1745972387647.png image 1 - correct order

joaoandrebs_1-1745972978039.png image 2 - incorrect order

 

Resume: I need change the sequence order of the columns of image 2 to image 1.

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I think it helps to have sort order column for Statement column.

Please check the link down below from Microsoft.

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

View solution in original post

4 REPLIES 4
v-achippa
Community Support
Community Support

Hi @joaoandrebs,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @Jihwan_Kim for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue? or let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @joaoandrebs,

 

We wanted to kindly follow up to check if the solution provided by the super user resolved your issue.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @joaoandrebs,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I think it helps to have sort order column for Statement column.

Please check the link down below from Microsoft.

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.