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 / Modern Control Combo B...
Power Apps
Answered

Modern Control Combo Box DefaultSelectedItem

(0) ShareShare
ReportReport
Posted on by 22

Hi I put a modern control combo box in my gallery and wanted to set the default to ThisItem.'Staff Name'. In the classic combo box, it works if I put in the DefaultSelectedItems as {Value: ThisItem.'Staff Name'} but it does not work with the modern one. 

 

Appreciate if anyone can help me, thanks!

Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @Mouree

     

    The DefaultSelectedItem property expects a single record that matches one of the items in the Items property of the combo box. Try this:

    LookUp(SharePointList, 'Staff Name'.Value = ThisItem.'Staff Name')

     If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • Mouree Profile Picture
    22 on at

    Hi @SpongYe ,

     

    I've tried it and it gives an error that it is incompatible types for comparison:

    Mouree_0-1697728915252.png

     

    When I remove the word "value" it removes the error but it still does not show anything like this:

    Mouree_1-1697729102380.png

     



     

  • Mouree Profile Picture
    22 on at

    Oh okay now it works @SpongYe ,

     

    I mistakenly put wrong data source, which I should put StaffList instead of StaffAllocationList.

    Not it has been solved. Thanks!

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard