Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Moving Row subtitle in a Matrix

Hello,

How do I move Revenue above COR in a matrix. Refer below image for clarity:

 

 

 

  • Hi Anonymous ,

     

    Please refer to this post: Sort a Column with a Custom Order in Power BI.

     

    In your scenario,

    1. enter data to create a table with two columns:

    Category Order
    Revenue 1
    COR 2
    SGA 3

     

    2. create relationship between your fact table and the order table above through "Category".

     

    3. Sort "Category" column  by "Order" column.

     

    4. Replace "GDR Total" column with “Category” column in your Matrix visual.

     

    Then, you will get what you want.

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies

  • Anonymous you need to create another column to sort these column using sort by. see documentation here

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

    • Anonymous's avatar
      Anonymous
      Not applicable

      parry2k Thank you for the reply. I sorted by rows but I realized I have SGA, COR, and Revenue categories and I want to see Revenue then COR and then SGA.

       

      • parry2k's avatar
        parry2k
        Super User

        Anonymous doesn't matter what order you want to see it, you have the full power to control with sort by column. Not sure if you gone thru the article and got the concept and just implement it. 

  • Icey's avatar
    Icey
    Community Support

    Hi Anonymous ,

     

    Please refer to this post: Sort a Column with a Custom Order in Power BI.

     

    In your scenario,

    1. enter data to create a table with two columns:

    Category Order
    Revenue 1
    COR 2
    SGA 3

     

    2. create relationship between your fact table and the order table above through "Category".

     

    3. Sort "Category" column  by "Order" column.

     

    4. Replace "GDR Total" column with “Category” column in your Matrix visual.

     

    Then, you will get what you want.

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.