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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Finding Target Due Date for business hours

Hi guys, I want to create new column which is 'Target Due Date' in 'Schedule Table'. This column should return date where task should be done based on priority. (need to consider only working hours and non-Holiday day).
2 tables: BusinessCalendar, Schedule (images below)

Working hours should be 8.30 am - 5.30 pm.
Priority: Low=14 hours

 

For example. I got assigned a task on 11/6/2021 1:45:00 PM, priority Low, 12/6/2021 and 13/6/2021 are weekend, 14/6/2021 is public holiday. So, target date should be 16/6/2021 9:45:00 AM

 

BusinessCalendar tableBusinessCalendar tableSchedule tableSchedule tableexampleexample

 

1 REPLY 1
lbendlin
Super User
Super User

What is your required level of precision. Is 15 minutes enough or do you need better precision (5 minute or single minute for example).  Your answer will impact the size of the tables that will be used in the INTERSECT operation.

 

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to work with. Avoid posting screenshots of your source data if possible.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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