web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding Business Days t...
Power Apps
Answered

Adding Business Days to Date Picker

(0) ShareShare
ReportReport
Posted on by 101

Submit Date: Date Picker

Due Date: Date Picker

 

When a user selects a submit date, I would like to set the Due date to -18 business days.

 

This is the current formula I have on the DefaultDate of the Due Date date picker:

Text(DateAdd(SubmitDate.SelectedDate, - 18), "mm-dd-yyyy")

 

Any advice would help. 

Categories:
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @MicroMarc365  - one method:

     

    With(
     {_days: -18},
     DateAdd(
     SubmitDate.SelectedDate,
     Value(_days) + RoundDown(
     (Weekday(
     SubmitDate.SelectedDate,
     StartOfWeek.Monday
     ) + Value(_days) - 1) / 5,
     0
     ) * 2,
     TimeUnit.Days
     )
    )
  • MicroMarc365 Profile Picture
    101 on at

    Worked perfectly! Thanks! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard