I\'m looking for a conditional cumulative sum based on the status of an object. I\'d like to sum all the previous rows when the stats is "New", but reset the cumul