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 / Choices() doesn't retu...
Power Apps
Answered

Choices() doesn't return all SharePoint users

(1) ShareShare
ReportReport
Posted on by

When I try to populate a combobox using Choices() for my SharePoint list called "Urlopy", the table returned by the function and the actual amount of users vary greately.

As the monitor shows, 'Created By' offers 11 records:

Screenshot 2024-02-18 111009.png

But the actual table returned only contains these 4 recrods:

Screenshot 2024-02-18 111121.png

 

Why is the function returning a different table, when 'Created By' clearly contains 11 records (and even the Power Apps monitor can see that)?

Choices() doesn't work with my custom user column called 'Concerning' either. The settings on SharePoint are Choose from: All users

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,791 Most Valuable Professional on at

    Hi @inaya ,

    Firstly 'Created By' is a Person column and Choices() really do not apply. If you simply want a list of users that have created records

    Sort(
     Distinct(
     Urlopy,
     'Created By'.DisplayName
     ),
     Value
    )

    If you want to choose from all users

    Office365Users.SearchUser({searchTerm: Self.SearchText})

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard