sorting stack bar chart in power BI
问题 I am using a stacked bar chart for presenting the gender ratio in various region. here the legend is gender and Axis is region and value is headcount. when i want to sort the chart according to female gender value . the sorting is only done by the headcount value. how can i sort it for the percentage value. please help me. 回答1: EDIT: My first answer focused only on count, now I've taken into account that OP wants to sort by percentage female value You can sort your data directly in your