Decomposition tree

A Decomposition Tree is a powerful visualization for root cause analysis and drill-down exploration in Power BI.

Chart Setup

To build a decomposition tree:

  1. Axis

    1. Drag the dimensions you want to use to break down and analyze the measures (e.g., Region, Category).

  2. Values parameter

    1. Drag multiple measures to analyze (e.g., Units sold, Revenue).

  3. Chart type

    1. Select Decomposition Tree from the Hierarchy section of the Chart Type dropdown menu.

A Decomposition Tree visual in Power BI allows you to analyze one measure through multiple categorical dimensions, one level at a time. It provides an interactive, hierarchical view where each branch represents a breakdown of the total value, letting users explore “what contributes to what” in a clean, structured way.

Decomposition tree with pivot data

Customization & Formatting under Canvas Settings

Use canvas settings to control the look and behavior of your chart. It contains two tabs - General and Decomposition Tree.

1. Decomposition tree format

Enable the toggle to customize the color for each parent node category.

Custom color formatting

2. Show Header

Enable this toggle to display the selected dimension category hierarchy and the corresponding highest and lowest values at the top of the visual.

Show header for decomposition trees

3. Tree

3.1. Density

Density settings - Dense, Default, and Sparse, allow you to control how compact or spaced out the tree layout appears.

  • Dense: Displays branches close together, allowing more information to be fit on a single screen, making it ideal for detailed analysis or larger hierarchies.

  • Default: Offers a balanced layout with moderate spacing, providing a clean and readable visual for most use cases.

  • Sparse: Adds extra spacing between nodes and branches, improving clarity and focus during presentations or executive reporting.

Dense
Sparse
Default

3.2. Default action

  • Filter/Highlight: Highlights or filters data related to the selected node, allowing you to focus on specific segments while maintaining an overall view.

  • Collapse: Automatically folds the branch when selected, keeping the visual neat and organized, especially in large or complex hierarchies.

Default action options
Filter/Highlight
Collapse

3.3. Expand level

Set the default level to expand the hierarchy.

Expand level

3.4. No of bars

Depending on the number of categories in your data, you can control how many to display.

4 bars
8 bars

3.5. Line style

Choose between dotted, dashed, and regular connector lines. Set the line thickness.

3.6. Line type

Choose between Curved line, Spline, Line, and Straight line types for the connector lines.

Curved line
Spline
Line
Straight line

3.7. Show arrow

Enable this toggle to display arrows at the end of connector lines.

Show arrow

3.8. Selected line

Set a custom color to highlight connector lines when a node is selected in reading view.

Selected line

3.9. Unselected line

Similar to the Selected line option, this allows you to set a color for the connector lines.

Unselected line

4. Bar

4.1. Type

Display the nodes as progress bars, tiles, or cards.

Card
Tile
Progress bar

4.2. Size

Set the width and height of each node.

4.3. Scale to

Control how values are scaled and compared across different hierarchy levels with the different options available :

  • Top Node: Scales all values relative to the root node, providing a view of the contribution to the overall total.

  • Parent Node: Displays each child node’s value as a percentage of its direct parent, ideal for analyzing proportional relationships within a hierarchy.

  • Level Maximum: Scales values based on the highest value within each level, helping you easily identify top performers at every stage and compare relative contribution within a single level.

  • Custom: Lets you define your own scaling logic by providing start and end input values as per your data.

Top node
Custom
Level maximum
Parent node

4.4. Radius

Adjust the corner radius of each node.

Radius option

4.5. Background

Set a custom background color for the progress bar.

Background option

4.6. Border

Set a custom border color for cards.

Border option

4.7. Card background color

Set a custom background color for cards.

Card background color

Data label settings

1. Show child count

Enable this toggle to view the number of children under each parent node.

Show child count

2. Label type

Select the Percentage option to display the percentage contribution of each category.

Additional Formatting Options

Here are the other settings that help you refine your Decomposition tree.

Feature
Description
Link

Number

Configure number formatting (decimals, units)

Legend

Show/hide and customize the legends

Data Label

Show exact values for each data point

Trellis

Create small multiples using category split

Conditional Formatting

Apply color rules to highlight values

Sorting

Sort axis order

Ranking

Limit to top/bottom N categories

kk

Last updated

Was this helpful?