The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |