Forum Discussion
androo
Advocate III
3 years agoConditional cumulative sum as new calculated column in datamodel
In the table below my desired result is the final column (it looks horrid here but pastes nicely enough into Excel). Index:Reference:PrevRowRef:Amount:Cumulative Amount:Desired Cumulative Result: ...
- 3 years ago
is this what you want?
Column = sumx(FILTER('Table','Table'[Reference]=EARLIER('Table'[Reference])&&'Table'[Index]<=EARLIER('Table'[Index])),'Table'[Amount])+0pls see the attachment below
ryan_mayu
Super User
3 years agois this what you want?
Column = sumx(FILTER('Table','Table'[Reference]=EARLIER('Table'[Reference])&&'Table'[Index]<=EARLIER('Table'[Index])),'Table'[Amount])+0
pls see the attachment below