You don't need SUMX - this is an iterator, and in this case, you're doing a simple aggregation of a single column. You do need a context transition, which is why we use the CALCULATE function.
Why are you trying to add this as a Calculated Column? If you do this, you lose the ability to perform your cumulative total against slices of your data, and it makes aggregation harder, not easier. Unless you're planning to group by cumulative total values, then it makes sense to add this as a MEASURE, not as a CALCULATED COLUMN.
In your sample workbook, the measure would read:
(My apologies - the version of Excel I am using in the office today is without PowerPivot, so I can't quite see what you're trying in your calculated columns. But my advice to use a measure stands.)
Bookmarks