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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set Default Selected V...
Power Apps
Answered

Set Default Selected Value of DropDown

(0) ShareShare
ReportReport
Posted on by 3,294 Most Valuable Professional

You would think this would be simple as setting the default value to an ID of the drop down but aparently it's not that easy. 

 

Anyone know how I can set the default value that shows in the drop down or basically the selected Item on the dropdown control. It always shows the first value no matter what and the only way I can get it to show the value is using Filter, which does no good when you go to change the value. 

 

Is there a special value you have to pass into Default other than primary key value for it to know which record to use? 

Categories:
I have the same question (0)
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Solved it, Default property needs set to Lookup(datasource,ID = ThisItem.ID,Name) 

    Was missing the ,Name part which is what is showing in the Dropdown field. 

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @cwebb365 

    Yes, for a DropDown, the Default must be the same as the field that you are displaying in the dropdown.

    So, if you are displaying Name in the DropDown, then you set the default to whatever text value you want for that field.  In your case, you're looking up the value and assigning name to the default...all is good.

     

    By the way, the DropDown retains the fields of the record,  so elsewhere, you can get to the DropDown.Selected.ID or any other field in the record.

     

    Glad you resolved 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard