Forum Discussion
TerCh
5 years agoFrequent Visitor
Reverse Running total with a twist
Hi
I am using the formula
reverse = calculate([Ongoing],filter(allselected(DateTable[Date]),DateTable[Date]>=MIN(DateTable[Date])))
for reverse running total of column "Ongoing". But I need the result in the table be one month earlier.
This is my table now:
What I need is the result showing one month earlier
so t.ex. 2021 Jul showing 8, and 2021 Jun showing 6
I have tried using the nextmonth formula without luck.
Hope there is somebody out there that can help me.
Hi
Thank you for leading me in the right direction ๐
The solution was as follow:
reverse running totals = calculate([Ongoing],filter(allselected(DateTable[Date]),DateTable[Date]>=MIN(DateTable[Date])+DAY ( EOMONTH (DateTable[Date], 0 ) )))
5 Replies
- Tanushree_Kapse
Impactful Individual
Hi TerCh ,
Try this measure:
reverse = calculate([Ongoing],filter(allselected(DateTable[Date]),DateTable[Date]>=MIN(DateTable[Date])+1))
Mark this as a solution, if I answered your question. Kudos are always appreciated.
Thanks.
- TerChFrequent Visitor
Hi
Thanks, but as you can see in column reverse2, its is not working
- Tanushree_Kapse
Impactful Individual
Hi TerCh ,
Try this:
reverse = calculate([Ongoing],filter(allselected(Table[Year Month]),Table[Year Month]>=MIN(Table[Year Month])+1))