Forum Discussion

rintoalappat's avatar
rintoalappat
Frequent Visitor
2 years ago
Solved

Help Needed in Nested Sorting for Hierarchical Bar Chart

Hi Everyone, 

I'm a begginer in Power BI, We are working on a Tableau to Power BI Migration project where I'm facing some difficulties in converting one bar chart to power bi. 

 

Scenario : I have a category and subcategory and sales value plotted in a bar chart, I have turned of Concatenation, I want to show it by Category group (Highest Category First) then inside each group show sucategory bars (Highest Subcategory First).

 

I was able to achieve the first sort by creating a Total colum using ALLEXCEPT(). but I'm not able to do the second layer sorting. 

Any help is appreciated. 

 

Screenshot below:

 

 

Expected :  I want to show highest subcategory in DESC in each category. 

 

Sample File Download Link : Sample PBIX File 

 

Regards,

Rinto

15 Replies