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 a Combobox by a...
Power Apps
Answered

Filter a Combobox by a choice

(0) ShareShare
ReportReport
Posted on by 84

I would like to bring up a list of only the members of staff who work in a certain department

 

For example a list of employees who work in the "Warehouse"

 

I have tried using

 

Filter(Staff.Name, "Warehouse" in Department)

 

but as the department is a choice field this will not work

 

Can someone please show me how this is done

Categories:
I have the same question (0)
  • FMontesRNX1 Profile Picture
    147 on at

    Did you tried this?

     

    Filter(Staff, Department.Value = "Warehouse")


    Use Properties Controls to show only names

     

  • Lynch66 Profile Picture
    84 on at

    Unfortunately this does not work

  • WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    @Lynch66 ,

    The response from @FMontesRNX1 is correct for what you posted, but why are you using Staff.Name ? What is the list name and field name you are wanting and is Department  single or multiple choice?

  • Lynch66 Profile Picture
    84 on at

    @WarrenBelz I am no longer using Staff.Name

     

    Department is a single choice field

     

    What i would like is to have a list of only Staff who work in the warehouse

     

    When i type "Department."no options come up after typing the dot

  • WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    @Lynch66 ,

    If Department is a single Choice field in SharePoint, then Department.Value is the correct reference.

  • Lynch66 Profile Picture
    84 on at

    @WarrenBelz 

     

    I have checked and it is a Single choice but for some reason I am not given the option of using Depatrment.Value, when i type Department. no options come up

     

    Do you have any idea why this might be

  • WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    @Lynch66 ,

    What is your Data Source (I am assuming SharePoint here)

  • Lynch66 Profile Picture
    84 on at

    @WarrenBelz I am using Dataverse tables

  • Verified answer
    WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    @Lynch66 ,

    Then you are dealing with an Option Set - this document may be useful.

     

    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.

    Visit my blog Practical Power Apps

     

     

     

  • Verified answer
    Lynch66 Profile Picture
    84 on at

    @WarrenBelz THanks for the link, i was able to get it to work

     

    The answer was:

     

    Filter(Staff,Department = [@Department].Warehouse)

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

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard