Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am running into another issue with this project, I need to calculate the number of days an employee spends in a status before changing statuses:
Name | Status | Period End Date |
Dave | Active | 6/30/2022 |
Shelly | Inactive | 6/30/2022 |
Roy | Inactive | 6/30/2022 |
Tom | Active | 6/30/2022 |
Monica | Active | 6/30/2022 |
Dave | Inactive | 6/23/2022 |
Shelly | Inactive | 6/23/2022 |
Roy | Inactive | 6/23/2022 |
Tom | Inactive | 6/23/2022 |
Monica | Active | 6/23/2022 |
Dave | Inactive | 6/16/2022 |
Shelly | Inactive | 6/16/2022 |
Roy | Inactive | 6/16/2022 |
Tom | Active | 6/16/2022 |
Monica | Active | 6/16/2022 |
I would just be going of the number of days from period end date to period end data. I'd need to basically say that from Above, Dave was in Inactive Status for 14 Days, as he first had an inactive status on 6/16 and that changed 14 days later on 6/30. Thanks as always
Solved! Go to Solution.
Maybe try this?
Maybe try this?
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
10 | |
6 |