Announcements
Hi,
I have below SP online list. In Name column Mulitple selection is set to Yes.
Column Type
Title Single line of text
Name Person or Group
SP list Item
SelectedItem is a collection in powerapps, it contains sharepoint Item.
PowerApps Collection
This assumes the values are in a como box called DataCardValue13. Example:Left(Concat(DataCardValue13.SelectedItems, DisplayName & "; "), Len(Concat(DataCardValue13.SelectedItems, DisplayName & "; "))-2)In this example we are concatenating the display name of the selected items in the combo box into a string separated by a semi colon. Then we are cleaning up the string by removing the trailing semi colon.
Hi Jeff, Values are not in the combobox. Values are in the collection. I have one more snapshot in original message for clarity.
Looking at your screenshots I think the collection is called SelectedItem and it only has one row. The column in the collection that has the user names is "Name". If that is correct then the formula would look like this:
Left(Concat(First(SelectedItem).Name, DisplayName & "; "), Len(Concat(First(SelectedItem).Name, DisplayName & "; "))-2)
Hi @Jeff_Thorpe
That is correct.
This is working perfectly fine.
Could you please also help me in displaying list contents in gallery without use of Collection?
This worked in gallery!! Thanks a lot.
Left( Concat(ThisItem.Name, DisplayName & "; ") , Len(Concat(ThisItem.Name, DisplayName & "; "))-2)
Thank you, I'm looking for this code too. BTW what -2 mean? Or is this the number of name to be displayed on the label?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 366 Most Valuable Professional
11manish 184
MS.Ragavendar 99 Super User 2026 Season 1