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 / Datepicker function an...
Power Apps
Answered

Datepicker function and adding dates formula

(0) ShareShare
ReportReport
Posted on by 30

Hello Grupo,

 

I have been trying to come up with a formula just like in excel in where you have the option to add a # of business days to the original selection of the date selected in the calendar. 

 

The scenario: 

 

User will select a Priority level from a dropdown:

  • High (2 days) ,
  • Medium (5 days)
  • Low (10 days) 

And select the date of their request (todays date) using the calendar datepick function. 

 

I need to find a way in which I can take (today's date) selected from the calendar and add the number of business days depending on the priority level. 

 

ie: the user selects Medium (5 days) [from the dropdown] and the todays date is 27-Mar-2020 [From the calendar date picker], 

 

I need the result to return 03-Abr-2020 a new field. 

 

Hoping to hear all your ideas,

 

Daniel 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try this:

    If(Dropdown1.SelectedText.Value="High (2 days)",
    DateAdd(Today(),2),
    If(Dropdown1.SelectedText.Value="High (5 days)",
    DateAdd(Today(),5),
    If(Dropdown1.SelectedText.Value="High (10 days)",
    DateAdd(Today(),10))))
     
    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard