Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Custom sort legend

Hello,

 

I have a stacked bar chart grouped by a variable called "business impact" and would like to sort my legend by business impact from low to high rather than alphabetically. I've found solutions for custom sorting the legend that use the "sort by column" feature in the Modeling tab, but I do not see this feature in my current version of Power BI.

 

Any guidance would be greatly appreciated. Thanks in advance!

  • Hi, Anonymous 

    You need to select  the column that you want to sort.In the Fields pane, the Column tools tab becomes active.

    Then you can see  Sort by Column, then select the field you want to sort the other field by.

     

    For more information , you can refer to :
    Sort one column by another column in Power BI - Power BI | Microsoft Learn

     

    Best Regards,

    Aniya Zhang

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

     

2 Replies

  • Hi, Anonymous 

    You need to select  the column that you want to sort.In the Fields pane, the Column tools tab becomes active.

    Then you can see  Sort by Column, then select the field you want to sort the other field by.

     

    For more information , you can refer to :
    Sort one column by another column in Power BI - Power BI | Microsoft Learn

     

    Best Regards,

    Aniya Zhang

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

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Ah, that makes a whole lot of sense. Thank you!