The Decomposition Tree visual in Power BI lets you drill into a single measure across multiple dimensions, step by step, to see exactly what is driving a number. You drop a measure into the Analyze box, add dimensions, and click the plus signs to break the total down by category, then sub-category, then product, and so on. It is one of the fastest ways to answer "why is this number what it is?" without writing DAX or building a custom matrix. This guide walks you through creating one, using it, and fixing the common issues that trip people up.
What You'll Need
- Power BI Desktop (the free version is fine) with a report open that has at least one measure and at least two related tables with categorical fields.
- A measure to analyze — a simple SUM or COUNT works; the visual also handles more complex measures like AVERAGE or a calculated measure.
- Basic familiarity with the Fields pane and the Visualizations pane.
Step-by-Step
- Open your report and switch to the Report view. If you are already editing a report, you are in the right place. If not, open Power BI Desktop and load the .pbix file you want to work with.
- Create a new page or select a blank area on an existing page. Click the blank canvas where you want the visual to appear. It is often easiest to start on a fresh page so you have room to work.
- In the Visualizations pane, click the Decomposition Tree icon. It looks like a branching tree diagram — a central node with three lines splitting off. If you do not see it, scroll through the icons; it is in the same group as the other AI visuals (like Key Influencers). If you cannot find it, check that your Power BI Desktop is updated, because older versions may not include it.
- Add a measure to the Analyze box. In the Visualizations pane, you will see a field well labeled "Analyze" (sometimes shown as a magnifying glass icon). Drag a measure from the Fields pane into that box. For example, drag Total Sales or Sum of Quantity. The visual will immediately show a single node with that total value.
- Add dimensions to the Explain by box. Below the Analyze box is "Explain by" (or a list icon). Drag categorical fields here — for example, Region, Product Category, Salesperson, Month. You can add several; the order matters because it becomes the default drill path. The first dimension you add will be the first level you see when you click the plus sign.
- Click the plus sign (+) on the node to drill down. Hover over the main node and a plus icon appears. Click it, and a dropdown lists the dimensions you added. Select one — say Region — and the visual splits the total into bars for each region, with the largest contributor at the top.
- Continue drilling by clicking the plus sign on any node. Each bar represents a subset of the total. Click the plus on a specific bar (for example, the "West" region) to break that segment down further by another dimension, like Product Category. You can keep going until you run out of dimensions or the data gets too granular.
- Use the context menu to change the drill path. Right-click on any node and choose "Drill down" to see the next level, or "Drill to" to pick a specific dimension. You can also use the small arrow icons in the visual's header to go back up a level.
- Format the visual to your liking. Select the visual, go to the Format pane (the paint roller icon), and adjust things like bar colors, font size, or the title. You can also enable "Show absolute value" to display the raw numbers instead of percentages, or "Show as percent of total" to see each segment's share.
- Interact with the visual like any other Power BI visual. Click a bar to cross-filter other visuals on the page. The decomposition tree respects slicers and filters from the page, so if you have a date slicer, the analysis updates accordingly.
That is the core workflow. The power comes from experimenting with different dimension orders and drilling into the biggest bars first to find the root cause of a spike or drop.
Common Mistakes
- Putting a column in the Analyze box instead of a measure. The Analyze box only accepts measures (aggregations like SUM, AVERAGE, COUNT). If you drag a text column, it will not work. Convert it to a measure first (e.g.,
Sales Amount = SUM(Sales[Amount])) or use an implicit measure by checking the column and selecting "Sum" from the field's context menu. - Adding too many dimensions at once. The visual gets cluttered and slow. Start with two or three key dimensions, then add more as needed.
- Forgetting that the order of dimensions in the Explain by box matters. The first dimension is the default first drill level. If you want to drill by product first, put Product before Region.
- Ignoring filters and slicers. If your report has a global filter (e.g., a date range), the decomposition tree only sees the filtered data. That is usually what you want, but it can confuse if you forget the filter exists.
- Expecting the visual to handle measures with different granularities. If your measure is a ratio like AVERAGE, drilling down will recalculate the average for each subset, which is correct but can be misleading if you are looking for additive contributions. For additive analysis, use SUM or COUNT.
Tips
- Sort by value descending. The visual automatically sorts bars from largest to smallest, but you can change this by clicking the sort icon in the visual's header. Descending order is usually best for finding the biggest driver quickly.
- Use the "Analyze" box for a measure and "Explain by" for dimensions — that is the only supported configuration. Do not try to swap them; it will not work.
- Leverage the "AI" features. The decomposition tree has a built-in "high value" and "low value" highlight that can automatically point out the most significant contributors. Look for the small arrow or sparkline icon in the visual header.
- Combine with a date hierarchy. If you add a date field like Year-Month to the Explain by box, you can drill from year to quarter to month, which is great for trend analysis.
- Export the data. Right-click the visual and choose "Export data" to get the underlying table as a CSV. This is handy for sharing the breakdown with others who do not have Power BI.
- Keep the visual simple for presentations. Too many levels make it hard to read. Drill down to the level that answers the question, then take a screenshot or use the "Focus mode" (hover and click the expand icon) to show it full-screen.
Troubleshooting
The visual is not showing any data. Check that your measure is returning a value. Create a simple table visual with the same measure to confirm. Also check that the dimensions you added have data for the filtered period — if a dimension is blank for all rows, the visual will show only the total.
The plus sign does not appear. This happens when there are no dimensions in the "Explain by" box, or when the measure is not additive (e.g., a measure that uses DISTINCTCOUNT). For non-additive measures, the visual may still work but the plus sign might be disabled at certain levels. Try using a simpler SUM measure.
The visual is slow. Large data models or too many dimensions can cause lag. Reduce the number of Explain by fields, or add a filter to limit the data. Also make sure your Power BI Desktop is updated to the latest version.
The drill path is not what I expected. Remember that the order of dimensions in the Explain by box determines the default path. To change it, remove the dimensions and re-add them in the order you want. You can also right-click a node and choose "Drill to" to pick a different dimension for that specific branch.
The visual is not respecting a slicer. Check if the slicer is on the same page and that there are no conflicting filters. The decomposition tree responds to slicers, but if the slicer is on a different page and you are using sync slicers, make sure that is set up correctly.
If nothing else works, restart Power BI. Close the file and reopen it. Sometimes the visual gets into a bad state. If the problem persists, try creating the visual on a new page — that often resolves layout or interaction glitches.
Frequently Asked Questions
Can I use the Decomposition Tree with a live connection to Analysis Services?
Yes, it works with live connections, but performance depends on the server. The visual sends DAX queries to the server, so large models may be slower. It is best to use imported data for interactive exploration.
Why does my measure show as a percentage instead of a value?
The visual defaults to showing both the value and the percentage of the parent. If you only see percentages, go to the Format pane, find "Analyze" or "Data labels," and enable "Show absolute value" or disable "Show as percent."
Can I drill down more than one level at a time?
No, the decomposition tree only drills one level at a time. You must click the plus sign on each node to go deeper. There is no "expand all" option.
Is the Decomposition Tree available in Power BI Report Server?
No, the Decomposition Tree is only available in Power BI Desktop and the Power BI service. It is not supported in Report Server or Power BI Embedded (unless you use the service version).
Can I use a custom measure with a filter context?
Yes, you can use any DAX measure, including those with CALCULATE or FILTER. The visual respects the current filter context, so measures like "Sales for Current Month" will work, but they may not be additive across dimensions. For best results, use simple additive measures.
How do I remove a level from the drill path?
Right-click on the node and choose "Remove" or "Drill up" to go back. To remove a dimension entirely from the visual, go to the Explain by box and click the X next to the field name.