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 customized dr...
Power Apps
Answered

Filter a customized dropdown based on the employees position (another column)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I am stuck currently with a customized dropdown with the name "Responsible Partner", which I would like to be able to filter based on the employeelist which is a SharePoint List with two columns: Name and Position.

 

I would ideally like to filter so that ONLY people with the position "Partner / Principal" will show up.

 

Currently I am trying this, but it gives me red scribbles underneath the "=" sign:

 

Sort(Filter('Employee List SPM'.'Name ({Name})','Employee List SPM'.Position = "Partner / Principal"),Ascending)

 

Can anyone guide me in the right direction as to what I should do?

 

This is a customized dropdown (not a combobox). I have done the same thing for a LookUp column combobox, which works with the following Items Property:

 

Filter(
 Choices('Sales Pipeline Management'.'Responsible Partner / Principal'),
 Value in Filter('Employee List SPM', Position.Value = "Partner / Principal").Name
)

 

 

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

    @Anonymous 

    Take a look at your syntax for the filter formula you are using.

    Try changing to something like this:

    SortByColumns(
     Filter('Employee List SPM',
     Position = "Partner / Principal"
     ),
     'Name ({Name})', Ascending
    )

    Set the Value to display of the DropDown control to "Name ({Name})".

     

    This should give you the filtered list you are looking for.

     

    I hope this is helpful for you.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes  thank you for your comment.

     

    I have tried using your suggested formula, but that gives me even more red scribble

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    I think I have left out some important information:

    The "Position" column from the employee-list is a CHOICE-Column. I have tried the following filtering, but I get red scribble under "Value":

     

    Sort(
     Filter('Employee List SPM'.'Name ({Name})', Value in Filter('Employee List SPM', Position.Value = "Partner / Principal").Name),Ascending
    )
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    That formula you have is not going to yield the results you want.

    Please have a go with this formula:

    SortByColumns(
     Filter('Employee List SPM',
     "Partner / Principal" in Position.Value
     ),
     'Name ({Name})', Ascending
    )

    By the way, keep in mind that these type of filters are not delegable (you'll now see a blue scribble).  So, if you have a large list, consider you might have issues and need to rethink the strategy.

     

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard