I am looking to dynamically set a new threshold when finding the cumulative sum of a column and resetting it to 0 when it reaches that certain threshold. A simple example: If in