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 for Sub...
Power Apps
Answered

Filter Gallery for Subordinates by Manager

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have a Label input that is pulling in data from the AD employee profile. The employee's position can include 'Supervisor' or 'Manager'.

I want to filter a Gallery by Supervisor's/Manager's subordinates.

I am using the following formula; Will this achieve my goal?

  If("Supervisor" || "Manager" in PositionTitleFld.Text,Filter(EmployeeCollection,ManagerEmail - User().Email))

Categories:
  • Verified answer
    HenWang Profile Picture
    Microsoft Employee on at

    Hi @Phineas ,

     

    Maybe I am wrong, but I understand that you are trying to filter the EmployeeCollection to get the rows whose ManagerEmail value is equal to the current user who is accessing the gallery.

     

    If this is the case, then your formula would be correct after below change:

     If("Supervisor" || "Manager" in PositionTitleFld.Text,Filter(EmployeeCollection,ManagerEmail = User().Email))
    

     

    Please feel free to let me know if I missed something.

     

    Best Regards,

    Hen Wang

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard