21 Replies Latest reply: Aug 8, 2017 8:33 AM by Magdalena Tudose RSS

    Lastweek

    sony sing

      Hi all,

       

      I have a data sample attached.

      I want to calculate  the  current week count of value and last week count of value.

       

      I have a date field . 

       

      here two conditions : 1  if week starts from Monday to sunday how can I calculate the count   each item wise?

      2. if week starts from sunday to Saturday how to caluculate In script?  

       

       

      Can anyone give some idea on this?

       

       

      Thanks

      Sony