DAX cumulative total by previous result (same column)
Calculate the accumulated value until it reaches a certain maximum value or a certain minimum value. Restart the accumulated value from the maximum value or from the minimum value found in the previous iteration.
x = x + y --> where 'x' is the accumulated value and 'y' is the current value (circular reference).
Joshua Chartier commented
I believe this could be solved pretty easily with the addition of ordered iterators. See https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/40647124-ordered-iterators