Forum Discussion

Philipp101's avatar
Philipp101
Regular Visitor
3 years ago

Article assembly lists

Hey,

 

i am facing a problem where i just can't wrap my head around.

 

I've a list of articles/items and those articles/items have an assembly list with other articles and ressources; ressources = working time to build this article.

 

The one thing i want to know is the total time needed to build the whole list of articles.

 

My big problem is that the assembly lists can contain other assembly lists and so on.

 

I've already managed to get a total of the 'first level', but i just don't know how to get the ressources of assembly lists of the assembly lists and so on...

2 Replies

  • Philipp101 ,
    Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

    • Philipp101's avatar
      Philipp101
      Regular Visitor

      Sure, let me try:

       

      Project table

      Project No
      P001
      P002
      P003
      P004

       

      Project Task table

      Project NoItem NoItem DescriptionIs Assembly ListQuantity
      P0011001Machine01Yes2
      P0011002HolderNo1
      P0011003Plate 4 x 3 mYes2
      P0011004Plate 5 x 4 mYes1

       

      Assembly List table

      Parent Item NoItem NoItem DescriptionQuantityTypIs Assembly List
      10012001Screw20ItemNo
      10012002Mainboard1ItemYes
      10012003Time to build stuff4RessourceNo

       

      > So for Project P001 we need Machine01 2 times.

      > 4 h to build 1 Machine01

      > that means a total of 8 h for this item

       

      That's the part i got working.

       

      What i am missing is the Mainboard and the time to build it.

       

      It's also possible that Mainboard has other items that are again an item with assembly list...and so on.