Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
marellis
Frequent Visitor

How to calculate estimated Recruitment / Hiring Date, depending on certain conditions

Hi

There are two things that I'd like to calculated - based on a recruitment plan for this year.

 

1) What is the "estimated offer date" - i.e. after we have opened a hiring request, what is the estimated date on which we will find a candidate and make them on offer.  We are estimating this will be "Requisition approval date" (date hiring request approved) + 75 calendar days (estimated time to find a candidate and make them an offer).

 

2) After we have calculated the above estimated offer date, I then need to calculate what is the "estimated onboarding date" (i.e. their start date).  This is a more complex calculation, because it depends on the hiring "Region" of the requistion/candidate.   We have estimated time per onboarding (candidate notice periods) per region as follows:

 

Europe - estimated offer date + 90 calendar days = estimated onboarding date

APJ -  estimated offer date + 60 calendar days = estimated onboarding date

NAM -  estimated offer date + 30 calendar days = estimated onboarding date

 

So for the above, I need DAX to work out e.g.  "If hiring region column = Europe", then estimated onboarding date = "estimated offer date + 90 days",  OR "if region column = APJ", then estimated onboarding date = "estimated offer date + 60 days"  (and same argument for NAM, etc.

 

Does anyone know the DAX to enable such a Power BI calc?

 

Thanks so much!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@marellis , new column like example

estimated offer date

= [date hiring request approved] + 75

 

estimated onboarding date =

Switch( [Region],

"Europe",[estimated offer date] +90,

"APJ", [estimated offer date] +60 ,

"NAM", [estimated offer date] +30

)

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@marellis , new column like example

estimated offer date

= [date hiring request approved] + 75

 

estimated onboarding date =

Switch( [Region],

"Europe",[estimated offer date] +90,

"APJ", [estimated offer date] +60 ,

"NAM", [estimated offer date] +30

)

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi!

Thanks so much for this fast solution - it works!

Just a final question.   In some cases, the "date hiring request approved" is blank (e.g. the recruitment req is still in draft format) - but it returns a default date of "15/03/1900" in the "estimated offer date" field.  Is there DAX I could use in the estimated offer date field, to leave a blank date in this column, if there is no date yet in the "date hiring request approved" column?

 

Thanks

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.