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 / Multi select people pi...
Power Apps
Answered

Multi select people picker in Powerapps for Dataverse

(0) ShareShare
ReportReport
Posted on by 51

Hello,

 

I am building Powerapps form based on Dataverse. I have used text column and the used combobox for people picker.

 

items property: ShowColumns(Office365Users.SearchUser({top:999, searchTerm:Self.SearchText}),"Mail", "DisplayName")

defaultselected items: {Mail: ThisItem.Team, DisplayName: ThisItem.Team}

Update property : Concat(ComboBox1.SelectedItems,Mail,",")

 

This works fine but now when someone saves and later comeback to this field they find all the names concatenated. Inturn if they want to remove any name from this they are compelled to remove all the name and readd once again.

 

How we can solve this issue? 

 

 

 

I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Dronzer10,

    Yes, this is caused by the formula you set for the DefaultSelectedItems property of the Combo Box. You set it as a concatenated string, which is a totally different data format with it in the Office365 table.

     

    Modify the DefaultSelectedItems property of the Combo Box as below:

    Ungroup(ForAll(Split(ThisItem.Team,","),Office365Users.SearchUser({searchTerm:Result})),"Value")

     

  • Dronzer10 Profile Picture
    51 on at

    Wow!!

  • shaley68 Profile Picture
    2 on at

    I have this exact setup (field name is different) and cant get this to work for me. What is Result referring to?

     

    Here is my error message:

    shaley68_0-1692721091462.png

     

     

  • wrizk Profile Picture
    Microsoft Employee on at

    the only correct solution out there!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard