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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Hierarchy tree with multiple parent-child levels

Hi!

 

I am analyzing our stock from our finished products and all its subcomponents and the components of those subcomponents.

 

I have 4 tabels

 

Table 1

Material 

MaterialComponent
Product AComponent A
Product AComponent B
Product AComponent C
Product BComponent A
Product BComponent D
Product BComponent E
Product CComponent A
Product CComponent F
Product CComponent G
etc.etc.

 

The second table is where the components from table 1 are split up into subcomponents

MaterialComponent
Component ASubComponent A 
Component ASubComponent B 
Component ASubComponent C 
Component BSubComponent D 
Component BSubComponent A 
Component BSubComponent F
Component C

SubComponent 

G

Component C

SubComponent

Component 

D

SubComponent A
etc.SubComponent 

 

Table 3 follows the same principle where the subcomponents are split up into its components.

 

I have created a table 4 with all individual materials and their stock values.

 

With this data id like to achieve a hierarchy tree where i can analyse the Stock of the finished product and expand to its subcomponents on multiple leves.

 

Hope you can help me out!

 

Thanks in advance!

 

Robee

1 REPLY 1
lbendlin
Super User
Super User

Standard hierarchies in Power BI do not allow for scenarios where a child (subcomponent) has multiple parents (component).  You will have to implement your own tables with the verbose listing of component relationships for all products.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors