Forum Discussion
neeharikathota
5 years agoFrequent Visitor
@cumulative sum
Hi All , Iam trying to get a cumulative running sum for the column 'SWAP Values' based on the Date column "SWAP Rate Date" . The running sum calculation should start from 'May 01 2020' till lat...
neeharikathota
5 years agoFrequent Visitor
Hi Robert ,
Thanks for your suggestions before , that helped a lot .
Iam trying to achieve cumulative sum based on Period date thats is repeating . So my cumulative sum should be grouped based on repeating Period dates . Can you help me achieve the 'Cumulative Expected Return expected result ' . As highlightes in red .. 35499=5559+5559+24381 for 01/05/2020 .
v-robertq-msft
5 years agoCommunity Support
Hi, neeharikathota
According to your requirement, you can try this measure:
Cumulative Return expected result =
CALCULATE(
SUM('Table'[Return]),
FILTER(ALLSELECTED('Table'),'Table'[Period Date]<=MAX('Table'[Period Date])))
And this is my test pbix file:
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.