Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Summary
power bi desktop "decomposition tree" visual "explain by" does the column order matter
Details
noticed that the 'pick' from the visual always displays the "explain by" columns in alphabetical order regardless of the order in the explain by section
Solved! Go to Solution.
Thanks for the reply from Uzi2019 and Abhijeet_40 , please allow me to add some more information:
Hi @garythomannCoGC ,
As far as I know, the default sorting rule of Power BI Desktop is to sort based on alphabetical order, this is due to the design of Power BI, if you want to customize the sorting rule, you can create a new table and [Index] column to achieve it.
I created some sample data:
Power Query -- Add Column – Index Column – From 1.
If each Group has only one index, then you can just Sort by column
If your data is the same as my sample data, and each Group has more than one Index, then you will get the error
You can create a table with a distinct [Group] column and a grouped minimum [Index], and join the new table with the old table to implement the sort.
1. Create calculated table:
Table 2 =
SUMMARIZE('Table',[Group1],"Index",MINX(FILTER(ALL('Table'),[Group1]=EARLIER([Group1])),[Index]))
2. Select [Group1] – Column tools – Sort by column – [Index].
3. Joins the relationship between two tables:
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from Uzi2019 and Abhijeet_40 , please allow me to add some more information:
Hi @garythomannCoGC ,
As far as I know, the default sorting rule of Power BI Desktop is to sort based on alphabetical order, this is due to the design of Power BI, if you want to customize the sorting rule, you can create a new table and [Index] column to achieve it.
I created some sample data:
Power Query -- Add Column – Index Column – From 1.
If each Group has only one index, then you can just Sort by column
If your data is the same as my sample data, and each Group has more than one Index, then you will get the error
You can create a table with a distinct [Group] column and a grouped minimum [Index], and join the new table with the old table to implement the sort.
1. Create calculated table:
Table 2 =
SUMMARIZE('Table',[Group1],"Index",MINX(FILTER(ALL('Table'),[Group1]=EARLIER([Group1])),[Index]))
2. Select [Group1] – Column tools – Sort by column – [Index].
3. Joins the relationship between two tables:
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you both for your answers and help, much appreciated.
Yes. you are right. the order in which you are putting your fileds in Explain by section is random order. but when you open your expand your explain by fileds it shows Alphabetical order. That's actually a very useful when you want to find something.
when you want something which start from Z , you will find it at the bottom of the list. that's how actually list/ filters/slicers works in power bi
I hope I answered your question!
Column order does not matter when you add it in Explain by section. it completely upto you how to know it to drill down when your displaying decomposotion tree.
Order of columns does not matter in Decomposition tree.
I hope I answered your question!
Hello!
The order presented in the "explain by" section might not hold significant importance, as the insights a user seeks on a dashboard can vary based on individual needs. The ability to change the order within the visual is highly valuable in such cases.
However, if we consider a report designed to present specific findings, the flexibility of changing the order may not be as relevant, since options won’t be visible to others during a presentation.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
75 | |
47 | |
44 | |
34 |
User | Count |
---|---|
179 | |
89 | |
69 | |
47 | |
47 |