Forum Discussion
bryanrendra
Helper II
6 years agoCumulative total with multiple item and time
I have been googling and still cant find the best way to generate updated price value. I am trying to find updated price value that coming from original price + running total incremental price in gi...
amitchandak
Super User
6 years agobryanrendra , Try one of the two
DropPrice = 'Table'[Original Price]+CALCULATE(SUM('table'[IncrementalPrice]),
filter(
ALLSELECTED('table'),'table'[Date]<= max('table'[Date]) && 'table'[item] max(='table'[Date])))
DropPrice = 'Table'[Original Price]+CALCULATE(SUM('table'[IncrementalPrice]),
filter(
ALLSELECTED('table'),'table'[Date]<= max('table'[Date]) ))
bryanrendra
Helper II
6 years agoIt works!, my problem was the original price and incremental price were at two different table with their own dates column. Now I have finally manage to create dimension date and the formula works. Thank you!