Forum Discussion
ErickReiis
Helper I
3 years agoAccumulated by adding value from previous years
Hello everyone, everything good? I have a table where I need to perform a sum of information from the previous year with the current year to generate a kind of accumulated to perform a rate calculat...
- 3 years ago
Hi, ErickReiis
You can try the following methods.
Measure = CALCULATE ( SUM ( 'Table'[Value] ), FILTER ( ALL ( 'Table' ), [Type] = SELECTEDVALUE ( 'Table'[Type] ) && [Year] <= SELECTEDVALUE ( 'Table'[Year] ) ) )Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-zhangti
Community Support
3 years agoHi, ErickReiis
You can try the following methods.
Measure = CALCULATE ( SUM ( 'Table'[Value] ),
FILTER ( ALL ( 'Table' ),
[Type] = SELECTEDVALUE ( 'Table'[Type] )
&& [Year] <= SELECTEDVALUE ( 'Table'[Year] )
)
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.