Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I am trying to calculate the employee churn for my company. The data set is simple (see here), the table is updated daily with the IDs of all active employees. If an employee is not in the previous day, they are new and if they are in the previous day and not in the most recent date then they left.
This seems straight forward but I am not sure how I would write a measure for this. The churn rate is defined as:
total employees that left in a month / employees as the start of the month.
Any help is appreciated as I have been stuck on this for a while. Thanks!
Hi @patrail ,
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team _ kalyj
The underlying logic of your question is fairly simple; if an employee existing during the month doesn't appear at the end of month, he/she must have left.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |