(Average) Time in Status

checkner

New Member
Joined
Sep 7, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have an applicant workflow and would like to measure how long a candidate has spent in which status (per job and average across all jobs). I want to visualize it in PowerBI. I have the following table:

Job Req IDApplication IDApplication StatusApplication Status CategoryCreated Date (Timestamp)Is Current StatusSkipped Status
300384123456Personal AssessmentASSESSMENT22.05.2023 06:21 Skipped by user
300384123456Cultural fit assessmentASSESSMENT22.05.2023 06:21 Skipped by user
300384123456Manager ReviewASSESSMENT22.05.2023 06:21 Not Skipped
300384123456Rejected - Direct RejectedCLOSED22.05.2023 09:23YESNot Skipped
300384123456ScreeningSCREENING22.05.2023 06:21 Skipped by user
300384123456DefaultAPPLIED19.05.2023 14:34 Not Skipped
300384123456Recruiter InterviewSCREENING22.05.2023 06:21 Skipped by user

If the status is "Skipped by user", the applicant was not in this status, if it is "not skipped", the applicant was in this status. For the case shown, I would want to know how long the applicant was in the status "Default" and "Manager Review". If "CLOSED", then I do not need any time.

I would be very grateful if anyone can help.

Kind regards
Christoph
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Check this - Column H & I

Book2
BCDEFGHI
1Application IDApplication StatusApplication Status CategoryCreated Date (Timestamp)Is Current StatusSkipped StatusUntilTime
2123456DefaultAPPLIED5/19/23 14:34Not Skipped5/22/23 6:212 Days 15:47 Hrs
3123456Personal AssessmentASSESSMENT5/22/23 6:21Skipped by user  
4123456Cultural fit assessmentASSESSMENT5/22/23 6:21Skipped by user  
5123456Manager ReviewASSESSMENT5/22/23 6:21Not Skipped5/22/23 9:230 Days 03:02 Hrs
6123456ScreeningSCREENING5/22/23 6:21Skipped by user  
7123456Recruiter InterviewSCREENING5/22/23 6:21Skipped by user  
8123456Rejected - Direct RejectedCLOSED5/22/23 9:23YESNot Skipped5/22/23 9:23108 Days 05:11 Hrs
Sheet1
Cell Formulas
RangeFormula
H2:H8H2=IF(G2="Skipped by user","",LOOKUP(1,1/(A2:$A$8=A2)*(B2:$B$8=B2)*(G2:$G$8="Not Skipped"),E2:E8))
I2:I8I2=IFS(H2="","",F2="Yes",INT(NOW()-E2)&" Days "&TEXT(NOW()-E2-INT(NOW()-E2),"HH:MM")&" Hrs",TRUE,INT(H2-E2)&" Days "&TEXT(H2-E2-INT(H2-E2),"HH:MM")&" Hrs")
 
Upvote 0
Unfortunately it doesn't work, if I have several data sets, Excel returns wrong values. Is it also possible to implement this directly in DAX?
 
Upvote 0
Unfortunately it doesn't work, if I have several data sets, Excel returns wrong values. Is it also possible to implement this directly in DAX?
I'm unfamiliar with Power Query or DAX

Someone expert at it would help you with this.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top