Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

churn rate calculation - multiple date columns in a measure ?? Urgent help needed

Hello, I have a data model with the following columns and I am trying to find the monthly churn rate number. Can someone please advise what measures I have to write?  (I also have a calendar table which is connected through all non-active relationships to both date columns -- this is key since there are multiple date columns I need to use in the measures??) The churn rate formula is: sum of deactivated users at the end of the month/sum of active users at the beginng of the month. I am very beginner, so having someone help me actually write the dax instead of point me to an article would be super helpful

User IDUser_StatusUser_Activated_DateUser_Deactivated_Date

1

Activated12/12/19 
2Deactivated12/12/192/12/19
3Activated12/12/19 
4Deactivated12/12/193/12/19
5Activated12/12/19 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Please refer to my  blog very similar to what you need :https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

In this blog churn =Terminated/ Current employees

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Please refer to my  blog very similar to what you need :https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

In this blog churn =Terminated/ Current employees

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Anonymous
Not applicable

@amitchandak this was very helpful for a lot of my work!! but I think my question still stands about the churn rate -- how do I make a measure with employees churned THIS period over active employees LAST PERIOD IF they each use DIFFERENT date columns? That is what I am confused about 

We have used a measure last period for month and year, That can be used. I will try to put an example

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.