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 / Update dropdown value ...
Power Apps
Answered

Update dropdown value if Datepicker is Selected

(0) ShareShare
ReportReport
Posted on by 97

Hi Folks,

 

 

Need your guys and TIA for your kind assistant.

 

I have a Date Picker column in SL and Choice Column too. Im trying to figured out how to update the value of the dropdown if DatePicker is selected. DatePicker dont have any specific date to trigger this as long the date is selected. But the Value of the the dropdown has to change from "Issue" to "Return". How can i achieve this?

I have in mind to use If function but to no result. 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,656 Most Valuable Professional on at

    Hi @xKujiRax ,

    Make the Default of the Dropdown

    If(
     Value(DatePickerName.SelectedDate) > 0,
     "Issue",
     "Return"
    )

     

    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

  • xKujiRax Profile Picture
    97 on at

    Hi @WarrenBelz 

     

    let my try and get back to you. 

     

    thanks

  • xKujiRax Profile Picture
    97 on at

    @WarrenBelz 

     

    i tried but it said error in formula that "Issue" and "Return" are text. Please advise

  • WarrenBelz Profile Picture
    155,656 Most Valuable Professional on at

    @xKujiRax ,

    I was simply using the values you supplied = "Issue" and "Return" are Text.

    I am assuming you are using the Default of the Drop-down and also is it one of these, not a Combo Box.

  • xKujiRax Profile Picture
    97 on at

    Yes, my dropdown is choice column from SL and only has 2 choices: Return and Issue

  • Verified answer
    WarrenBelz Profile Picture
    155,656 Most Valuable Professional on at

    @xKujiRax ,

    I will have to assume this is a combo box (you did not answer the question) not a drop-down. If so, you need

    If(
     Value(DatePickerName.SelectedDate) > 0,
     {Value:"Issue"},
     {Value:"Return"}
    )

     

    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

  • xKujiRax Profile Picture
    97 on at

    Hi @WarrenBelz 

     

    Sorry if my explaination is not clear enough and thanks for your prompt reply. So my Dropdown is from SL and its a choice column by default. so i assume it has the same property function? if yes then i will try your formula above and if not kindly edit the formula for me. Thanks!

  • xKujiRax Profile Picture
    97 on at

    Hi @WarrenBelz

     

    Work like Charm! thanks for your help!

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard