Forum Discussion
Cosik
Helper I
6 years agoCreate Cumulative line from measure
Hi, I'm strugling to create cumulative line. I know how to do in theory but I'm stuck on one of the steps. I can't use measure in calculation and I don't know how to convert this. This is wha...
- 6 years ago
Maybe this? :
Skumulowany = SUMX ( FILTER ( ALLSELECTED ( Tracker ), Tracker[RFS week] <= max(Tracker[RFS week]) ), [Dane_suma] )
_______________
If I helped, please accept the solution and give kudos! 😀
Cosik
Helper I
6 years agoI have error.
The "Dane_suma" can't be found in "Tracker" table or you can't use it here.
lkalawski
Resident Rockstar
6 years agoSure, because it is a measure and should be like this:
Skumulowany =
SUMX (
FILTER ( ALLSELECTED ( Tracker ), Tracker[RFS week] <= Tracker[RFS week] ),
[Dane_suma]
)
_______________
If I helped, please accept the solution and give kudos! 😀
- Cosik6 years ago
Helper I
It is closer,
It gives me sum of all selected weeks.