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 / How to filter on user ...
Power Apps
Answered

How to filter on user combobox ?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created from a SharePoint list a PowerApp. One of my SharePoint metadata is a people field. I created a user combobox on the landingpage. Below the combobox you will see all the list items. I would like to filter the list items by the selected user in the combobox. How to filter on a user combobox?

 

I try this but it is not working:

 

Filter(CoronaWerkplekRooster, Persoon=PersonDataCardValue4_1.SelectedItems.Claims)

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    The easiest way to go about that would be to consider the following formula:

    Filter(CoronaWerkplekRooster, 
     Persoon.Email = User().Email
    )

    This will give you items where the email in SharePoint is equal to the email of the current user.

    Note, sometimes the case of the two emails is different and a Lower function needs to be applied.

     

    I hope this is helpful for you.

  • dreamsat Profile Picture
    96 on at

    @RandyHayes Thanks! I dont want to filter on the current user. I would like to filter on the selected user in the combobox.

     

    PersonDataCardValue4_1.SelectedItems

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @dreamsat 

    Selected "User" or "Users"?  Is this a multi-select combobox, or are you just interested in the currently selected person in the combobox?

  • dreamsat Profile Picture
    96 on at

    @RandyHayes the selected user. Only 1 user, not multiple users.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @dreamsat 

    Very good.  Then your filter formula should be this:

    Filter(CoronaWerkplekRooster, 
     Persoon.Email = PersonDataCardValue4_1.Selected.Email
    )

    That should give you what you need. 

  • dreamsat Profile Picture
    96 on at

    great it works!

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 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 206

Last 30 days Overall leaderboard