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.
I'm trying to get a rate of people who have had a status change from Active to Inactive in a dataset from week to week. Example:
Name | Status | Period End Date | Week Rank |
Dave | Active | 6/30/2022 | 1 |
Shelly | Inactive | 6/30/2022 | 1 |
Roy | Inactive | 6/30/2022 | 1 |
Tom | Active | 6/30/2022 | 1 |
Monica | Active | 6/30/2022 | 1 |
Dave | Inactive | 6/23/2022 | 2 |
Shelly | Inactive | 6/23/2022 | 2 |
Roy | Inactive | 6/23/2022 | 2 |
Tom | Inactive | 6/23/2022 | 2 |
Monica | Active | 6/23/2022 | 2 |
Dave | Active | 6/16/2022 | 3 |
Shelly | Inactive | 6/16/2022 | 3 |
Roy | Inactive | 6/16/2022 | 3 |
Tom | Active | 6/16/2022 | 3 |
Monica | Active | 6/16/2022 | 3 |
Basically Where employee Status = "active" AND week rank = Minimum / Status = "inactive" where week rank = 1 above the minimum
It's essentially the 1 above the minimum that's killing me. Can do the other parts .
Any advice would be appreciated.
Solved! Go to Solution.
Create two calculated tables to filter "Active" and "Inactive" employees for each week rank.
Create a calculated column that calculates the minimum WeekRank for each employee.
Create a calculated column to identify employees who transitioned from "Active" to "Inactive" and have WeekRank 1 above the minimum.
Create a measure to calculate the rate of transitions:
This measure, "TransitionRate," will give you the rate of employees who transitioned from "Active" to "Inactive" with WeekRank 1 above the minimum WeekRank.
Create two calculated tables to filter "Active" and "Inactive" employees for each week rank.
Create a calculated column that calculates the minimum WeekRank for each employee.
Create a calculated column to identify employees who transitioned from "Active" to "Inactive" and have WeekRank 1 above the minimum.
Create a measure to calculate the rate of transitions:
This measure, "TransitionRate," will give you the rate of employees who transitioned from "Active" to "Inactive" with WeekRank 1 above the minimum WeekRank.
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 |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |