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 / Default Selected Items...
Power Apps
Answered

Default Selected Items from an Excel table data source?

(0) ShareShare
ReportReport
Posted on by 157

I haven't actually seen this done, so I don't know if it can be done. I have a Combobox that gets its selectable and searchable items from an Excel table. What I want is to have one of these items selected by default. I have consulted numerous resources online, but none actually show how to do this where Excel is the data source, so I've had to guess, but all the guesses have been wrong.

 

Tried this

And this PowerApps911 Resource

 

Can this be done, and if so, how? Currently, this code isn't working:

 

 

Filter(ProjectNames,'Project Names' = "Project Name Here")

 

 

However, when I click on the first ProjectNames I can browse the data source from the formula bar, so I know it connects properly. I just can't figure out how to filter it. Any ideas?

Categories:
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @FreddieV 

     

    To set the defaultSelectedItems for the Combo box 

    LookUp(ProjectNames, 'Project Id'="Y52")

     

    Items Property of combo box to

    ProjectNames

     

    DisplayFields property 

    ["Project_x0020_Name"]

    StalinPonnusamy_1-1635915262015.png

     

    Result

    StalinPonnusamy_2-1635915326837.png

     

    My Sample Excel Source

    StalinPonnusamy_0-1635915201125.png

     

     Please let me know if I'm missing anything


    Thanks,
    Stalin - Learn To Illuminate

  • FreddieV Profile Picture
    157 on at

    Amazing. Thank you! It was that simple! haha, this worked:

     

    LookUp(ProjectNames, '__PowerAppsId__'="48b29508-5871-49e5-ae2b-74dc361dc1c7")

    And then it displayed the actual name of the Project.

     

     

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard