Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, hope somebody can help?
I have some survey data I'm trying to analyse.
Response to a question is either:
Fairly safe
Fairly unsafe
Neither safe nor unsafe
Very safe
Very unsafe
And the responses are grouped by age (55-64, 65+ etc.) of the respondent.
I've created this 100% stacked bar chart :
I'm trying to sort the chart by 'the Fairly safe %' descending.
I've searched online and followed a suggestion of creating a measure and adding it as a tooltip and then sorting the axis by the tooltip:
Solved! Go to Solution.
Hi @Fusilier
If you need to sort the stacked graph by its "slices" you need to create separate measures for every group at the legend like :
Then you can select by which group you want to sort the graph :
The pbix with the example is attached
P.s It's important to note that stacked graphs are complex to read and not really effective for data visualization. I'm attaching a link to my article on the subject, including an alternative.
https://www.madeiradata.com/post/home-experiments-and-stacked-bar-graphs
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Fusilier
If you need to sort the stacked graph by its "slices" you need to create separate measures for every group at the legend like :
Then you can select by which group you want to sort the graph :
The pbix with the example is attached
P.s It's important to note that stacked graphs are complex to read and not really effective for data visualization. I'm attaching a link to my article on the subject, including an alternative.
https://www.madeiradata.com/post/home-experiments-and-stacked-bar-graphs
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thank you,
I read your article as well and will try your alternative method as well.
Thank you very much, nothing makes me happier than a complicated graph being discarded in favor of effective visualization 🙂😍
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |