Forum Discussion

Oomsen's avatar
Oomsen
Helper III
6 years ago

Recursive bom

I have two tables BOM and BOM-details. 

BOM includes assemblies and BOM-details includes parts and sub-assemblies.

I want to get insight in which BOMS a part is used when i change the part.

Currently i can only look one level up or down.

I would like to see all the levels starting from the lowest level.

Level      Assembly    Part/Assembly

1             10.132        10.037

2             10.037       11.785

2              10.037       11.786

In this example i would like to see that 11.785 is used in 10.037 (directly) and 10.132 (indirectly).

 

 

4 Replies

    • Oomsen's avatar
      Oomsen
      Helper III

      v-xicai 

      Thanks i can make it happen with this dax. 

      But, there are some parentitems which aren't in the child column. Any suggestion how to fix that?

      • v-xicai's avatar
        v-xicai
        Community Support

        Hi Oomsen ,

         

        If the parentitems aren't in the child column, then they may not form hierarchy. Or could you please share your sample data and desired output screenshots for further analysis? Do mask sensitive data before uploading.

         

        Best Regards,
        Amy

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.