Multi Dimension Sorting in a clustered column chart

I have a clustered column chart where on the x-axis I have a time dimension [in this case FY Year and Quarter]. On the legend I have DimOrg[Organization State]. I’m filtering out the top 3 States per each FY Year Quarter using a measure titled [Rank Spend by Org State].

The issue is that I would like to sort by in the Clustered Column Chart FY Year Quarter descending and w/i FY Year Quarter sort by ranking of totla spend for the state. I’ve searched the forum for a couple of days and figure I needed to ask. I have a sample file attached. As output I essentially like for would like columns under FY2021 Q1 to be sorted by total spend in descending order within that Year Quarter. Picture of dashboard below, link below.

https://drive.google.com/drive/folders/1V91FntSmy33fDwO2SHSIVe1xdBryQb-b?usp=sharing

image

Your help is much appreciated!

Hi @bslyew , we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformated text </>.
  • Use the proper category that best describes your topic
  • Provide as much context to a question as possible.
  • Include demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Hi @bslyew

Unfortunately there is no option to dynamically change the Sorting of Legend based on the values. I have also gone through several posts on Power BI Community and can conclude the same.

In fact, there is no option to even change Sort Order Manually however that can be handled by creating a separate table with Sort Fields but nothing can be for dynamic sorting.

Thanks
Ankit J

2 Likes

Hi @bslyew, a response on this post has been tagged as “Solution”. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the check box. Also, we’ve recently launched the Enterprise DNA Forum User Experience Survey, please feel free to answer it and give your insights on how we can further improve the Support forum. Thanks!