Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I have a Pivot Table in Excel with a 2-level hierarchy. Imanually re-arranged the rows in the Pivot table in order to have the groups ordered by the sum of values of the first level, and then ordered by the values of the second order:
I have the same data now available in Power BI and would like to recreate this chart. I have tried two approaches, both with non-satisfactory results:
What would be the way to display my data in the same way I did with the pivot table, without using to complicated DAX?
Here is the link to get the Power BI file with dummy data:
And here is the link to get the wanted display with the same data, in Excel:
Sub Pareto Demo.xlsx
Thanks lot,
Samuel
Solved! Go to Solution.
Unfortunately, there is no straightforward method for implementing nested sorting in charts.
It might be possible to achieve this using DAX.
I've attached a link to a discussion with a solution that was proposed a few months ago.
The discussion focuses on a cluster chart, but the underlying logic is applicable.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Hi Ritaf1983,
Thanks for your answer. I have added links to the OneDrive versions of the PowerBI file and an Excel file with the example of what I want in my initial post.
Best regards,
Samuel
Unfortunately, there is no straightforward method for implementing nested sorting in charts.
It might be possible to achieve this using DAX.
I've attached a link to a discussion with a solution that was proposed a few months ago.
The discussion focuses on a cluster chart, but the underlying logic is applicable.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 70 | |
| 39 | |
| 35 | |
| 23 |