Hi,
I wanted to know if it's possible to do a cusum() who decrease or increase according to dates range.
For example if I have 2 data like these : { amount : 300, beginning_date: "2019-06-01T00:00:00Z", ending_date : "2019-06-30T00:00:00Z" }
{ amount :200, beginning_date: "2019-06-15T00:00:00Z", ending_date : "2019-07-15T00:00:00Z" }
Can i have an amount of 300 at June 1st, 500 at 15th June and 200 at July 1st?
Thanks in advance!