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 Apps
Answered

undefined

(0) ShareShare
ReportReport
Posted on by 26

Hi Experts, 

 

Very simple query if anyone can help.

 

I want to filter people picker column from a sharepoint list based on a condition from a single select  choice column. 

 

I have a sp list with 2 columns, person column and job title. I want to filter all the people who are selected as managers in other choice column. 

 

Filter function is showing me just records.

 

Thanks in advance.

FB_IMG_1701645272581.jpg
Categories:
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @jaspreetsingh12 

    You can try to use this code in your Dropdown-Items:

    ForAll( Filter(JobPerson, 'Job Title'.Value = "Regional Manager" ) , {JobTitlePerson : JobTitlePerson.Email })

    vyueyunmsft_0-1701654195438.png

     

     

    Best Regards,

    Yueyun Zhang

  • jaspreetsingh12 Profile Picture
    26 on at

    You are amazing. I was struggling to get this . Thank you very much. Really Appreciate.🤗

  • jaspreetsingh12 Profile Picture
    26 on at

    Hi V,

     

    Is there a way I can make it searchable and sort it in ascending? 

     

    ForAll(Sort(Filter('Employee Directory!','Job Title'.Value="Regional Manager"),JobTitlePerson,SortOrder.Ascending),{JobTitlePerson:Employee.DisplayName}) 
     
    I was trying to sort but I am getting "cannot sort on expression type. dropdown.
     
    Thanks.

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

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard