Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Warehouse inbound accumulative count

I am trying to work out how to show pallets coming into my warehouse vs the maximum capacity i can recieve by hour. 

 

Each hour of the day i can recieve 88 pallets, if in hour 1 i recieve 70, i have extra capacity for 18. In hour 2 i want to tip 104 i would have 16 left over. That 16 would then role into the 3rd hour and so on. 

 

How is the best way to calculate this. Below is the data i am working with. 

 

Time BinsPallets inboundMaximum tip per hourVariance
01:00:007088-18
02:00:001048816
03:00:001568868
04:00:002688-62
05:00:005288-36
06:00:001308842
07:00:005288-36
08:00:00088-88
09:00:001568868
10:00:005288-36
11:00:004488-44
12:00:002688-62
13:00:002688-62
14:00:005288-36
15:00:007888-10
16:00:001488860
17:00:00088-88
18:00:005288-36
19:00:002688-62
20:00:001828894
21:00:001568868
22:00:0023488146
23:00:001668878

2 Replies

  • Anonymous , Try a new column like

     

    sumx(filter(Table, [Time Bins] <= earlier(Table[Time Bins])), [Pallets inbound]-[Maximum tip per hour])

     

    or a measure

     

    sumx(filter(allselected(Table), [Time Bins] <= max(Table[Time Bins])), [Pallets inbound]-[Maximum tip per hour])

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for the suggestion, it doesnt quite give me the right numbers by adding a column or creating a measure. 

      I have managed to replicate it in excel and have got the below results which is correct as if the inbound is less than the 88 maximum tip then the remaining from the previous hour would role over.