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 / ComboBox DefaultSelect...
Power Apps
Answered

ComboBox DefaultSelectedItems with alternate data source

(0) ShareShare
ReportReport
Posted on by 220

Hi, I'm hoping someone could help me out.

I have an editable gallery, with datasource colGridData collection, it has a field called location.  When I edit a record in the gallery, I have one of the fields tied to another datasource, WLLocation.Title, so I can't use ThisItem.location.  

How do I get the gallery location field to show the defaultselectedvalue of the colGridData.  If I do edit the record, the combobox is populated with the WLLocation.Title....just not sure how to see the correct value for the user in the defaultselecteditems?

 

Thanks for your help!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @TB05 

    You need to always match the record provided in the DefaultSelectedItems (DSI) property to the Items records. 

    So, if ThisItem.Location is a text value, then that will not be a valid record.

     

    If the Items property of your combobox only has a table with the Title column, then you can use the following on the DSI:  {Title: ThisItem.Location}

     

    If you have anything else for the Items property, then the record must match.  

     

    I hope this is helpful for you.

  • TB-20081424-0 Profile Picture
    220 on at

    Thank you so much!  That did the trick!!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard