Forum Discussion
GunnerJ
Post Patron
4 years agoCumulative totals getting split by year
I'm trying to find the number of active customers by year. The values shown in the picture show how many customers are active that started service in that year. What I need is for the previous ye...
- 4 years ago
Hi, GunnerJ ;
You could modify it:
TEST2 = CALCULATE ( COUNT ( 'Attrition Rate'[ACCT] ), FILTER ( ALL ( 'Attrition Rate' ), YEAR('Attrition Rate'[STARTDT])<=YEAR( MAX('Attrition Date'[Date]))&& 'Attrition Rate'[MINDISCDT] = DATEVALUE ( "1/1/1800" ) && 'Attrition Rate'[STARTDT] <> BLANK ()))And in last year ('2021') count is =8976
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
Community Support
4 years agoHi, GunnerJ ;
You could modify it:
TEST2 =
CALCULATE (
COUNT ( 'Attrition Rate'[ACCT] ),
FILTER (
ALL ( 'Attrition Rate' ),
YEAR('Attrition Rate'[STARTDT])<=YEAR( MAX('Attrition Date'[Date]))&&
'Attrition Rate'[MINDISCDT] = DATEVALUE ( "1/1/1800" )
&& 'Attrition Rate'[STARTDT] <> BLANK ()))
And in last year ('2021') count is =8976
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.