Forum Discussion
shanipowerbi
6 years agoHelper III
Previous period (not month) active users
I was working on cohort analyses and created periods for retention analyses. The period column in datasheet was calculated through the Invoice date.
Now I need to calculate churn rate % for this I need the previous period (not month) active users.
Data attached for your reference
4 Replies
- Nathaniel_CCommunity Champion
Hi shanipowerbi ,
Try this: Added a column just not sure that I got the churn formula correct.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
NathanielChurn = Var PrevpV =CALCULATE(SUM(Churn[Active Users ]),Filter(All(Churn),Churn[Period]=EARLIER(Churn[Period])-1)) Var Presentper = Churn[Active Users ] var Dif = Presentper-PrevpV return Divide (dif,PrevpV)- shanipowerbiHelper III
Thanks for the feedback, our formula is
Current - Prevous / Previous
So, in Our cas for Exmple : Period 1 is our Current and 0 is Previous.
- Nathaniel_CCommunity Champion
Which is what I am showing. (Current - Previous)/Previous
var Dif = Presentper-PrevpV return Divide (dif,PrevpV)If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel