3 Replies Latest reply: May 16, 2017 4:45 PM by Stefan Wühl RSS

    Last day of week - Set analysis

    Birkir Bjornsson

      Hi,

       

      I have a set of inventory data. I would like to create a chart or table that shows inventory status on the last day of the week. So If I would choice weeks from nr.1 to nr.10 it would sum the inventoryvalue for the last day of all the weeks. Is this possible with set analysis?

       

      The data looks something like this.

      InvTrans:

      LOAD * INLINE [

      Date, Product,Store,Qty,EntryType

      2017-02-28, 1,1,100,0

      2017-03-01, 1,1,-10,1

      2017-02-28,2,2,100,0

      2017-03-03, 2,2,-10,1

      2017-03-02, 1,1,100,2

      2017-03-02,2,2,500,2

      2017-03-04,1,2,-50,1

      ];

       

      Any hints greatly appreciated.

       

      Regards

      Birkir