Forum Discussion
AGo
6 years agoPost Patron
Rolling sum optimization
Hello, I populated a line chart with a cumulative function: Rolling count = SUMX(FILTER(ALLSELECTED(Tab[timestamp]),Tab[timestamp]<=MAX(Tab[timestamp])),CALCULATE(SUM(Tab[DeltaWithPreviousRowVa...
amitchandak
6 years agoSuper User
AGo , a New column like
maxx(filter(Table, table[timestamp] <earlier(table[timestamp] )),table[timestamp]) -table[timestamp]
- AGo6 years agoPost Patron
No, I'm sorry, the resulting value I need in my measure is not from timestamp column, it has to be extracted from calculations based on [vaue] or [DeltaWithPreviousRowValue] depending on which one is easier to use.