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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.