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 / Based on a DropDown va...
Power Apps
Answered

Based on a DropDown value, change the date of a datePicker component

(0) ShareShare
ReportReport
Posted on by 111

 

I have the dropDown on the left, and based on a value selected by the user, I would like to get the date from the "DT_CRONOGRAMA" component and insert into "DT_PLANEJAMENTO_INICIO" adding two more days to that date.

I've tried in several ways, but without success.

 

 

POWERAPPS.PNG

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,714 Most Valuable Professional on at

    Hi @JasonCastro ,

    You need to use the actual Date Picker name, but the DefaultDate of the DT_PLANEJAMENTO_INICIO Date Picker would be

    DateAdd(
     DT_CRONOGRAMADatePicker.SelectedDate,
     2,
     Days
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • WarrenBelz Profile Picture
    156,714 Most Valuable Professional on at

    Hi @JasonCastro ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • JasonCastro Profile Picture
    111 on at

    It worked very well, thank you

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard