Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have created a ribbon chart that shows ranks of each brand over the years (years on X-axis). However, the legends (brand names) are seen in alphabatical order. I would like to see the legend in the order of rank just like it is seen in the ribbon chart. So, for example, ribbon chart shows brand "X" with Rank 1 on top, then brand "H" with Rank 2, and so on and brand "A" with rank 10. Therfore, the legend should show brand "X" on top, brand "H" next, and so on and brand "A" as last in its list. Currently, it shows brand "A", brand "B", .... brand "Z" in alphabatical order.
Can someone please help to achieve this where legend is also seen in the order of ranking?
Thanks for your help!
did you ever find a solution?
Hi,
Thanks for the reply. Because this is a ribbon chart, I don't even see the option of sorting on three dots on the top corner of the ribbon chart. Also, for a better understanding of what I am looking, I have a screnshot below that shows legend in alphabatical order and I would like to see it in the rank of brands instead as seen by the ribbon chart.
Thank you!
@Anonymous , You can create a sort column and sort on that. But if rank is a column that not possible.
You can take Rank on visual and sort on that.
If rank is column
brand = [brand]
brand sort = rankx(all(table), [value])
Sort brand on the brand sort https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
I do have ranking as a measure. Can I sort legend by this mesure.
@AnonymousI'm afraid it is not supported to sort the legend by a measure. Additionlly, it seems there are two year values on X-axis and the rank of brands in each year is different. Which year's rank of brands should be applied to the legend?
Thanks for the reply. We are looking at the latest yerar's rank. For example, in the image above, the two years are 2017 and 2020. The last one is 2020 and we want to see the rank on 2020
having similar question.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
86 | |
83 | |
65 | |
49 |
User | Count |
---|---|
127 | |
108 | |
89 | |
70 | |
66 |