I have a report which is run on a monthly basis. The report basically takes a sum of quantity sold on a daily basis.
It comes like ITEM DATE SUM
1 2019-09-01 10
1 2019-09-02 20
2 2019-09-02 10
What i need to do is take the week end which will be like 2019-09-07 and then the total sum. I have got the week number calculation part done. How to get the report in format
2019-09-07 1 30
2019-09-07 2 10