Forum Discussion
kliz
2 years agoFrequent Visitor
Cumulative Sum
Hello, I am a beginner in powerbi and I want to compute the cumulative sum for each day, which includes the current day's sale amount and the cumulative sum of the previous day's sales. For exampl...
Tahreem24
2 years agoSuper User
kliz YOu can try this measure, I took your example and generated the expected result.
Cumulative = CALCULATE(SUM(TabA[Value]),FILTER(ALL(TabA),TabA[Date]<=MAX('TabA'[Date])))
kliz
2 years agoFrequent Visitor
what if for some days there is no values, how can i make it so that it reproduces the previous value to the current and so on till if finds the next currentday value?