Forum Discussion

viren2023's avatar
viren2023
Frequent Visitor
2 years ago

Inventory Allocation to Work Order in DAX

Hello everyone,

I am looking for a help to guide me with inventory availability check for work orders before making pick-list. I would like to see eligible work orders as per On Hand Qty.

 

 

I have attached a snapshot for reference.

I have been at it for a few days and I am unable to crack the logic.

 

Would be grateful for any suggestions on how to implement the logic.....

4 Replies

  • viren2023's avatar
    viren2023
    Frequent Visitor

     

    BOM (Bill of Materials) Inventory Work Orders Inventory Check QuickView
    Parent PartChild PartQty Per Item NoQty On Hand WorkOrder NoParent PartWork Order
    Qty Open
     Work Order NoParent PartChild PartQty PerWork Order
    Qty Open
    Inventory
    Qry Required
    Avail On Hand INV
    Qty after allocation
    Work Order
    Qty Allocated
    Status WorkOrder NoWork Order
    Qty Open
    Work Order
    Qty Allocated
    1111112 1110 W00111113 W001111111236243TRUE W00133
    1111121 1110 W00222224 W001111112133123TRUE W00244
    11111310 1110 W00311111 W00111111310330403TRUE W00311
    2222215 1210 W00433335 W0022222215420104TRUE W00455
    2222223 125 W00533333 W002222222341284TRUE W00531
    2222114 1350 W00611112 W003111111212221TRUE W00620
    2222243 1320     W003111112111111TRUE    
    3333312 2120     W00311111310110301TRUE    
    33331120 2110     W0043333312510555TRUE    
    4444411 2220     W004333311452045TRUE    
    4444113 2415     W005333331236493TRUE    
    4444432 3120     W0053333114312-81FALSE    
        3110     W006111111224-120FALSE    
        3120     W006111112122102TRUE    
        3115     W00611111310220202TRUE    
        3210                  
        415                  
        435                  

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  viren2023 ,

     

    Not quite sure what you mean, is the expected result you want to arrive at all of the graphs above or a particular graph, what are the data used to arrive at the expected result, and what is the logic used to arrive at the result?

     

    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.

    • viren2023's avatar
      viren2023
      Frequent Visitor

      Hi Anonymous 

      I would like to generate "Inventory Check" and "Quick View" structure based on "BOM", "Inventory", and "Work Orders" tables.

  • Hi,

    Share the download link of the MS Excel file.  In another tab of the Excel file, show the expected result with your formulas/Pivot Table already written/built there.  I will try to translate the Excel formula logic into the DAX language.