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 / Create Collection from...
Power Apps
Unanswered

Create Collection from SharePoint List "Person and Groups" field

(0) ShareShare
ReportReport
Posted on by 225

I have a SP List (Users) with various columns in, one being a "Person or Group" type called "Name".  How can I create a collection showing the details, such as "Display Name", "Email" of each person in the SP List?  

 

I have tried many different solutions found on the web and none work.

Thanks in advance.

Categories:
I have the same question (0)
  • StuartSmith Profile Picture
    225 on at

    Where are the greatest Power App minds when you need them? 🙂

  • StuartSmith Profile Picture
    225 on at

    Alternatively, I have a gallery in the app that shows the users found in the SP List called "Users".  I thought I would be able to create a collection using the gallery instead, but get the same issue.  How can I get the data held in each record into a single collection?  The gallery has "Name" and "Role" and if its easier, I could just work with the name field.  Could it be converted to text and saved in a gallery?

     2022-06-09_16-59-29.jpg

    2022-06-09_16-59-54.jpg

    Thanks in advance

  • Shazza Profile Picture
    4 on at

    Hey, try adding an AddColumns after Show Columns when creating the collection, then adding new columns specifically for the Display Name or Email, and using those instead. eg:

    ClearCollect(colNewCollectionName, ShowColumns(AddColumns(SPListName,"NewColumnDisplayName",SPFieldName.DisplayName),"NewColumnDisplayName"))

    then they should be a basic field instead of a record

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard