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 / Setting a combobox def...
Power Apps
Answered

Setting a combobox default from a split string of 365 emails

(0) ShareShare
ReportReport
Posted on by 16

Hi

 

I am testing sending emails within PowerApps. My main source is here (Shane Young send email) 
I have created a combo box linked to the Office365User connector to search to capture the people I wish to email in my organisation.

The combo items is set by the following, where DataCardValue153 is the combo box

 

Office365Users.SearchUserV2({searchTerm:DataCardValue153.SearchText}).value

 

The update statement in New form  mode for the data card is

 

Concat( DataCardValue153.SelectedItems, Mail,";")

 

This works and the data sored in the SQL table is fred.flintston@somedomain.com;barney.rubble@somedomain.com etc

 

The question I have is how to set the default of the combo box from the data retrieved from the SQL datatable when the form is in Edit Mode?
So when in edit mode the combo box would show the users, so far I have tried

 

Default = Filter(Table(Office365Users.SearchUserV2()) ,Mail in (Split(ThisItem.EmailRoute,";"))

 

however, my datatypes are incorrect

 

Any advise or pointers welcome

Categories:
  • Verified answer
    timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @coder57 

    If you set the DefaultSelectedItems property (rather than the Default property) to the following formula, it should hopefully display the email addresses correctly.

    RenameColumns(Split(ThisItem.EmailRoute, ";"),"Result", "Mail")

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard