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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Visualizing BOM with a tree visual

Hello,

 

I have an issue about displaying the BOM in a tree view.

My data has the following shape : 

 

ProductProductComponent
ProductA

Comp1

ProductA

Comp2

ProductB

Comp1

ProductB

Comp3

ProductB

Comp4

Comp3

Comp33

Comp3

Comp34

Comp4

Comp41

Comp4

Comp42

 

I want to make a tree view of this BOM.

I tried to use the Child/Parent tree (https://ck-corp.github.io/TreePowerBIVisual/) it works very well but the problem is that I have childs with many parents, and that causes a problem in the visual. This visual is made for hierarchy, so child usually have only one parent.

I also tried the Sankey Chart, it works well for the direct childs, but I have many levels depth. 
For example, Product B --> Comp3 --> Comp33 --> .....

 

Finally I tried the classic decomposition tree of Power Bi, but it doesn't deal with recursive BOM.

 

How can I handle this case ? 

The goal is to have an expandable tree view with all the BOM.

Thanks for yout help !

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Please explain what you mean by "it doesn'rt deal with recusive BOM".  Show an example of this 'recursion'.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hello @PhilipTreacy ,

 

By recursion I mean that in the same column, I have many level of depth.
I don't have a column for each depth level.

 

For example : 

ProductProductComponentLevel1ProductComponentLevel2ProductComponentLevel3ProductComponentLevel4
ProductAComp1   
ProductAComp2Comp1  
ProductBComp3Comp2Comp0 
ProductBComp4Comp1Comp3

Comp0

 

Such a representation could be easily used in a tree representation. But instead I have :

 

ProductComponent
ProductAComp1
ProductAComp2
Comp2Comp1
ProductBComp3
ProductBComp4
Comp3Comp2
Comp3Comp0
Comp4Comp1
Comp4Comp3
Comp4Comp0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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