Forum Discussion
Cumulative Sum not working??
- 4 years ago
Oh Ok.
Have you tried this:
Cumulative_Act_Hours_Col =
CALCULATE(
SUM( 'Table'[act] ),
FILTER( ALL( 'Table' ), 'Table'[MonthYear] <= EARLIER( 'Table'[MonthYear] ) )
)If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi ShemRo
What is your "MonthYear" column format? it seems it's not date/time!
Check that and then if it's not Date format change that to Date format and check your formula again.
Cumulative_Act_Hours_Col = CALCULATE(SUM('Table'[act]),Filter(All('Table'),'Table'[MonthYear]<=EARLIER('Table'[MonthYear])))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
- ShemRo4 years agoRegular Visitor
That it what i orginally thought too but...
regards Shem
- VahidDM4 years agoSuper User
Oh Ok.
Have you tried this:
Cumulative_Act_Hours_Col =
CALCULATE(
SUM( 'Table'[act] ),
FILTER( ALL( 'Table' ), 'Table'[MonthYear] <= EARLIER( 'Table'[MonthYear] ) )
)If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/- ShemRo4 years agoRegular Visitor
Ahh yes!!! Thanks so much. This got it. it was the 'Table' after the ALL that i had incorrect.
Thank you so much!!