cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
etomy New Member
New Member

Sort by multiple measures in direct query

Hello,

 

I am trying to sort the below stacked bar chart so that I get all the Highs and then the Mediums and then the Low. My 'High' is getting sorted correctly. However 'Medium' and 'Low' are not sorted correctly. I would want the bar with 4 highs and 3 mediums display above the the bar with 4 highs and 2 mediums. And so on...

 

Kindly let me know if this can be done

Capture.PNG

 

 

1 REPLY 1
v-cherch-msft Super Contributor
Super Contributor

Re: Sort by multiple measures in direct query

Hi @etomy

 

You may refer to below similar post to get a rank. Then you may sort by the rank.

https://community.powerbi.com/t5/Desktop/How-to-Rank-a-list-based-on-2-values-double-rankX/m-p/44076...

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 138 members 1,650 guests
Please welcome our newest community members: