Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
Just wanted to check if there is a way to sort by y-axes for the following stacked bar chart visual. I tried sorting on the "Sort by Project Duration"
but I am not able to get the below desired result, which is to get the project duration risks in the order of severity?
High Risk 11
Moderate Risk 9
Minimal Risk 18
Empty Risk 1
Thank you for your time.
Solved! Go to Solution.
There's a variety of ways to accomplish this, but one option is creating an index for severity (either 4/high risk or 1/high risk). Once that's complete, use Modeling > Sort by Column to order the risk field by index.
Once you've done that, what you tried in your picture will be successful.
Yep, I just created an index column in the fabricated table. There's other options depending on the complexity of your data, but it looks like this should work for what you need.
If it answered your question, make sure to mark the post above as a solution to help other users with similar problems.
There's a variety of ways to accomplish this, but one option is creating an index for severity (either 4/high risk or 1/high risk). Once that's complete, use Modeling > Sort by Column to order the risk field by index.
Once you've done that, what you tried in your picture will be successful.
@RMDNA this looks great. Is creating Index same as creating an index column? Could you please elaborate. Thank you.
Yep, I just created an index column in the fabricated table. There's other options depending on the complexity of your data, but it looks like this should work for what you need.
If it answered your question, make sure to mark the post above as a solution to help other users with similar problems.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
38 | |
31 | |
26 |