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 / Filter gallery using c...
Power Apps
Answered

Filter gallery using combobox with person or group records in a SharePoint list.

(0) ShareShare
ReportReport
Posted on by 32

I have a SP list with a name/person or group column. I would like to filter a gallery with the name of an existing record. I do not see any of the four person or group columns as shown in my screenshot.

FernandB1_0-1658451708070.png

 

I have the following but it is throwing up errors.
AddColumns('Presidents Award Nomination Form',"NomName",First('Nominee Name'.DisplayName).DisplayName)

 

FernandB1_0-1658453351243.png


And this is tha original name of the Nominee Column: Nominee_x0020_Name

 

 

 

Categories:
  • BlessedCobba Profile Picture
    459 Super User 2024 Season 1 on at

    Can you share a screenshot of the code for the items in the combo box and the sharepoint list? 

    those two screenshots dont really help diagnose the issue

  • FernandB1 Profile Picture
    32 on at

    This is what I have.

     

    FernandB1_0-1658453820396.png

     

    FernandB1_1-1658453853301.png

     

    And this is the original name of the Nominee Column: Nominee_x0020_Name

     

  • BlessedCobba Profile Picture
    459 Super User 2024 Season 1 on at

    The addColumns function is a data operation that adds a column to a table / collection 

     

    if you are just trying to reference a column in a combo box the Items in the combo box should be 

    SharepointList.ColumnName

  • FernandB1 Profile Picture
    32 on at

    I tried this but the dropdown list is blank.

     

    FernandB1_0-1658494865704.png

     

  • Verified answer
    FernandB1 Profile Picture
    32 on at

    This is what I found and it worked.
    Items property of combobox: SortByColumns(Distinct('Presidents Award Nomination Form','Nominee Name'.DisplayName),"Result")

     

    Shane Young:
    https://www.youtube.com/watch?v=VnadKWifkr8

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard