web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / get display names of a...
Power Apps
Answered

get display names of all users from multiselect field in sharepoint list

(0) ShareShare
ReportReport
Posted on by 39

Hi Everyone, 

 

I have a SharePoint list with a multi select user field, in power apps i want to be able to add all distinct user names into a drop down. 

 

Users

TitleAttendees
Item 1John Smith; Adam Johnson
Item 2John Smith; Mary Jan

 

Ideal Results:

John Smith

Adam Johnson

Mary Jan

 

Any ideas how this can be achieved?

 

was able to get everything for a single select using below, however multi select is a challenge.  

 

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @Ardian 

     

    Hope this helps:

    ClearCollect(
     YourCollection,
     {Title: "Item 1", Attendees: "John Smith; Adam Johnson"},
     {Title: "Item 2", Attendees: "John Smith; Mary Jan"}
    );
    
    Clear(ResultCollection);
    
    ForAll(
     YourCollection,
     Collect(
     ResultCollection,
     Split(Attendees, ";").Value
     )
    );
    
    ClearCollect(
     ResultCollection,
     Distinct(ResultCollection, Value)
    )

    SpongYe_0-1705341595276.png

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

     

  • Ardian Profile Picture
    39 on at

    @SpongYe 

     

    not sure if that helps. here is what i have so far, it does actually get all users, wondering if there is a better way of doing this, since i'm using double loop:

    ForAll(
     'Multi User',
     ForAll(
     ThisRecord.'User Name',
     Collect(
     _userName,
     ThisRecord.DisplayName
     )
     )
    )

    Multi User is a SharePoint list, list has a People column called User Name which is a multi select 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Ardian,

    Just use the Ungroup():

    Distinct(ForAll(Ungroup(list_name,"Attendees"),DisplayName),Value)

     

     

  • Ardian Profile Picture
    39 on at

    Something strange going on with my list, but this works great with a new list and new field. Exactly what I was looking for, thank 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard