msquared99
Member
Anyone have any ideas on how to calculate a trailing 12 months in Power BI to create a graph showing how the client base has changed over time during a 12 month period?
My calculation in Excel is Retention Rate = (End Bal. - New)/Begin Bal.
I have data where there is a start date and an end date. I want to do a rolling trailing 12 months calculation. So as an example, I would be looking at data from Dec-16 thru Nov-17.
Dec-16 would be counting all clients from Jan-16 thru Dec-16 and rolling forward for 12 months, then Jan-17 thru Dec-17, and Feb-17 thru Jan-18 and so on .
The end result would be:
Dec-16 88.9%
Jan-17 87.6%
Feb-17 90.1%
Mar-17 89.9%
And so on til...
Nov-17 88.6%
My calculation in Excel is Retention Rate = (End Bal. - New)/Begin Bal.
I have data where there is a start date and an end date. I want to do a rolling trailing 12 months calculation. So as an example, I would be looking at data from Dec-16 thru Nov-17.
Dec-16 would be counting all clients from Jan-16 thru Dec-16 and rolling forward for 12 months, then Jan-17 thru Dec-17, and Feb-17 thru Jan-18 and so on .
The end result would be:
Dec-16 88.9%
Jan-17 87.6%
Feb-17 90.1%
Mar-17 89.9%
And so on til...
Nov-17 88.6%