Forum Discussion
Cumulative sum in the Scatter Map Visual
- Anonymous2 years ago
Hi Lucasecg ,
Filters are meant to filter data and don't have this ability to aggregate data, so you may need to create a metric or calculated column implementation. For example, the following expression:
Cumulative Sales = CALCULATE ( SUM ( YourTableName[SalesColumn] ), FILTER ( ALLSELECTED ( YourTableName[DateColumn] ), YourTableName[DateColumn] <= MAX ( YourTableName[DateColumn] ) ) )Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi Lucasecg ,
Filters are meant to filter data and don't have this ability to aggregate data, so you may need to create a metric or calculated column implementation. For example, the following expression:
Cumulative Sales =
CALCULATE (
SUM ( YourTableName[SalesColumn] ),
FILTER (
ALLSELECTED ( YourTableName[DateColumn] ),
YourTableName[DateColumn] <= MAX ( YourTableName[DateColumn] )
)
)
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.