The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all, it is my first post here.
I am starting to use powerbi and need to sort the legend in my bar graph in a different way. I need it to state Creating Deals - Advancing Deals - Closing Deals because this is the correct order.
Do you guys know any basic way of doing so?
hi @Anonymous ,
yes u r right
Hi @Anonymous ,
Please Accept as Solution if resolved your problem
Hi @vs_7 It did not since I could not find the custom sorting as an option in my powerbi.
Any idea if it might be a version thing?
HI @Anonymous ,
check below steps
Select the bar graph visual in your report.
On the right side of the Power BI window, locate the "Visualizations" pane.
In the "Fields" section of the "Visualizations" pane, find the field that represents the legend (e.g., "Deal Stage").
Click on the ellipsis (...) next to the field name and choose "Sort Ascending" or "Sort Descending" to change the sorting order. By default, it may be sorted alphabetically.
To specify a custom sorting order, click on the ellipsis again and choose "Sort Ascending (Custom)" or "Sort Descending (Custom)."
In the "Sort by Column" dialog box, you can define a custom column to use for sorting. If you don't have a separate column for the desired sorting order, you can create a calculated column in your data model to represent the custom sorting order.
Once you have selected the custom sorting column, click "OK" to apply the sorting to the legend.
Hi @vs_7 ,
thank you for replying so quick, but it might be a "me problem", but I can't find the option to custom sorting. I only see descending or ascending. Am I in the right place here?