Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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! |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |