Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Decomposition tree

Hi

I am trying to do a decomposition tree but the hierarchy must be measure based and not dimension based. 
I need the layout to look like the screenshot below:

kcanterbury_0-1664041528382.png

As you can see it is replicating the first measure sales growth right through.

i created a table to separate to try and create a hierarch. Column 1 contains Sales Growth, Column 2 contains Growth and S, Column 3 counts U and P.

This is the measure Im using

SWITCH(
    true(),
    SELECTEDVALUE('Hierarchy'[Column1])="Sales Growth",sg,
    SELECTEDVALUE('Hierarchy'[Column2])="Growth",tg,
    SELECTEDVALUE('Hierarchy'[Column2])="S",spt,
    SELECTEDVALUE('Hierarchy'[Column3])="U",upt,
    SELECTEDVALUE('Hierarchy'[Column3])="Ph",usp)

Help resolving this will be much appreciated.
1 REPLY 1
lbendlin
Super User
Super User

Decomposition trees only support a single measure as the basis. All other fields must be columns.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.