Forum Discussion
y3wan
4 years agoFrequent Visitor
Cumulative total
Anyone know why the forumula didnt generate a cummulative total instead?
I was expecting 12, 18 & 48.
Hi,
I think it is because SUM('Sheet1'[Cost]) on the first row is already 48. Please try the below calculated column.
ColumnCC = SUMX ( FILTER ( Sheet1, Sheet1[Date] <= EARLIER ( Sheet1[Date] ) ), Sheet1[Cost] )
2 Replies
- Jihwan_Kim
Super User
Hi,
I think it is because SUM('Sheet1'[Cost]) on the first row is already 48. Please try the below calculated column.
ColumnCC = SUMX ( FILTER ( Sheet1, Sheet1[Date] <= EARLIER ( Sheet1[Date] ) ), Sheet1[Cost] )- y3wanFrequent Visitor
It works beautifully. Thank you