cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dronzer10
Helper I
Helper I

Multi select people picker in Powerapps for Dataverse

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? 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

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")

 

Best Regards,
Qi

View solution in original post

2 REPLIES 2
v-qiaqi-msft
Community Support
Community Support

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")

 

Best Regards,
Qi

Wow!!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Users online (3,823)