Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Power BI Desktop

Hi,

 

Hope you all are doing well!

I am trying to create a report using Matrix visualization. By default the columns are taking in an alphabetical order as shown in table 1. But I want my report to be as shown in table 2. Can anybody help me on this?

 

Table 1: 

GroupsABCDE
1xxxxx
2xxxxx
3xxxxx
4xxxxx
5xxxxx

 


Table 2:

 

GroupsDCAEB
1xxxxx
2xxxxx
3xxxxx
4xxxxx
5xxxxx
  • Hi Anonymous 

     

    If your data is like the following image, you could try my method.

    Open Power Query Editor and add a conditional column Sort Order.

    Apply the changes in Query Editor and go to Power BI Desktop. Select Name column and sort it by Sort Order column.

    After that, you will find the matrix visual display as what you expected.

     

    Best Regards,
    Community Support Team _ Jing Zhang
    If this post helps, please consider Accept it as the solution to help other members find it.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous Hover over the table and when you see the ellipses , click on that and you will find an option to Sort.

    There you can select the way you want.

  • v-jingzhang's avatar
    v-jingzhang
    Community Support

    Hi Anonymous 

     

    If your data is like the following image, you could try my method.

    Open Power Query Editor and add a conditional column Sort Order.

    Apply the changes in Query Editor and go to Power BI Desktop. Select Name column and sort it by Sort Order column.

    After that, you will find the matrix visual display as what you expected.

     

    Best Regards,
    Community Support Team _ Jing Zhang
    If this post helps, please consider Accept it as the solution to help other members find it.