Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

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

  • Hi Anonymous 

     

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

     

    Regards

     

    Phil

    • Anonymous's avatar
      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