Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hopefully I can explain this well enough to make sense. I have an ever growing HR data set where I'm trying to just filter down to those candidates that have been hired. Where I need help is how do I also include all the records for those candidates prior to them hitting the hires status in order to measure the time they spent in the previous statuses. Long story short, I need a measure or calculated column to get average days for each step in the hiring process for all candidate and then just those that were hired within a month. The main fields I've been working with to figure this out are Application ID, Application Status, Create Date (for status).
@SabrinaQ , for each row you can get previous row and have date diff , in a new column
Diff =
var _max= maxx(filter(table, [ID] =earlier([ID]) && [Created Date] < earlier([Created Date]) ), [Created Date])
return
datediff(_max, [Created Date], day)
Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
Thank you for your response @amitchandak
I'm not sure your solution is what I need, as I am already calculating the days in each status by doing something similar.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |