Forum Discussion

bstark1287's avatar
bstark1287
Helper II
4 years ago
Solved

Sum up columns based on date

I have 3 tables of data below. "Current Inventory", "Open requisition orders" to resupply inventory, and "Production Schedule Demand". I am wanting to calculate at what point we will run out of inven...
  • indkitty's avatar
    indkitty
    4 years ago

    Hi @bstrak1287

     

    Refer to below as the value displayed -13 for alternator.

     

     

    Logic used

    current inventory (add a date column which can be 1 day less (Minimum value) than your purchase order/sales order).

    Make one table with all data included as below.

    current inv - Inital stock.

    purchase order - Incoming qty

    Work/sales order - consumption. 

     

    Create a data table 1 day earlier (as initial stock) and last date as maximum of (work order / purchase order).

     

     

    You can download the file from below and work around.

     

    https://drive.google.com/file/d/1Bl5qSBtGrnHRhEgN9Sn1kfgQp1gHHFuV/view?usp=sharing

     

    Refer to Enterprise DNA, SQLBI for Inventory dashboard.

     

    Let me if this solution is accepted.