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 / Load user dispay name ...
Power Apps
Answered

Load user dispay name in a dropdown

(0) ShareShare
ReportReport
Posted on by 105

Hi, 

I have a gallery with data from my SharePoint list. I would like to, mediate a drop-down, the user can filter by the author of the record. Obviously I will need the Distinct function to make sure there are no duplicates if a User has created multiple records but I do not know how to set the formula in the Item property of the drop-down.
Can anyone help me?

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @roby9390 - if you just need a list of distinct display names sorted alphabetically:

     

    Sort(
     Distinct(
     'Your List',
     'Your People Field'.DisplayName
     ),
     Value,
     SortOrder.Ascending
    )

     

    However, if you also need the other attributes in the record (DisplayName, Email etc), then you can use:

    Sort(
     ForAll(
     Distinct(
     'Your List',
     'Your People Field'
     ),
     ThisRecord.Value
     ),
     DisplayName,
     SortOrder.Ascending
    )

     

    Please note the Distinct function is not delegable.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard