Forum Discussion

AbSyed's avatar
AbSyed
New Member
1 year ago

PowerBI sorting legend for barchart

Hi all, i am making a visual where i would like to sort the legend in descending order, meaning the biggest bar on the left and so on. as i am new to powerBi would really appreciate help on this. 

 

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    AbSyed Select the visual. Select the ellipses ( ... ) in the upper right corner. That is where you will find your sort options. However, depending on the configuration of tha tvisual, you may not have any sort options available. Also, I don't believe under any circumstances that it allows you to sort the legend by the actual value of the data but only by the legend (alphabetical)

  • Greg_Deckler i tried it but, it doesnt sort it based on the x axis values, is there a way i can make the legend to sort in descending order accoding to the x-axis values ? 

     

    Thanks