Forum Discussion

SoColdOutside's avatar
SoColdOutside
New Member
3 years ago

Creating a BOM Drill Down

Hi All,

 

I am fairly new to PowerBI, and what I'm trying to do is create a tool in BI that allows me to filter by an item number, and have it return all BOM's that the ingredient goes into. Sounds simple enough, but what happens is each step of the manufacturing process the item number then changes.

 

I'm trying to use the PATH function, but because ingredients can go into multiple formulas/BOMS I'm getting errors that there are multiple values. I can't think of anything other than using PATH, but when a "child" has multiple "parents" it doesn't seem to be working out as planned....

 

Here are two sample BOMs of the table that I'm trying to get into Power BI.

 

Org CodeFormula Vers Formula No Formula Description Formula Quantity Formula Uom Ingredient Line No Ingredient No 
FRW3123-456SIROL, BULK1ML1290-826
FRW3123-456SIROL, BULK1ML2290-536
FRW3123-456SIROL, BULK1ML3301-685
FRW3123-456SIROL, BULK1ML4290-610
FRW3123-456SIROL, BULK1ML5270-030
FRW3123-456SIROL, BULK1ML6103-367
FRW4987-654TACR BULK1ML1290-826
FRW4987-654TACR BULK1ML2300-660
FRW4987-654TACR BULK1ML3301-685
FRW4987-654TACR BULK1ML4300-435
FRW4987-654TACR BULK1ML5270-030
FRW4987-654TACR BULK1ML6103-367

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  SoColdOutside ,

    I created some data:

     

    Here are the steps you can follow:

    1. Create calculated column.

    Flag =
     CONCATENATEX(FILTER(ALL('Table'),
     'Table'[child]=EARLIER('Table'[child])),[parents],",")
    

    2. Result:

    If it does not meet your expectations, can you express the expected results in the form of pictures, we can better help you.

     

    Best Regards,

    Liu Yang

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