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 Apps
Answered

ComboBox Issues

(0) ShareShare
ReportReport
Posted on by 526

Issue:
I use a combobox as a person picker in a form and write the name and email to separate fields in my Azure SQL DB. This works perfectly.
I have another form that allows the editing of records based on a gallery selection. In that form, it populates the owner name but not the email field. It is as if the owner name isn't really selected in the combobox. So when I submit the form, it writes blanks back to the table for OwnerEmail.
OwnerSS.png

OwnerName ComboBox properties:

 

Searching enabled, multiple selections off
Items: Office365Users.SearchUser({searchTerm:ComboBox2_13.SearchText})
DefaultSelectedItems: Filter(Office365Users.SearchUser({searchTerm:ThisItem.OwnerEmail}), Mail = ThisItem.OwnerEmail).DisplayName

 

 

OwnerName ComboBox properties:

 

Default: ComboBox2_13.Selected.Mail

 

 
Form Properties:

FormSS.png

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

    @kriggo15 

    This is because you are trying to match a DisplayName (text) to a record (SearchUser).  This will not actually match and give you a selected item.

     

    Please consider changing your Formula to the following for DefaultSelectedItems:

    Office365Users.UserProfile(ThisItem.OwnerEmail)

    This will return a record that will correspond to a record from the items.

     

    I hope this is helpful for you.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard