Announcements
I have an app with a people picker. Due to the number of records, I have created an excel table with all members of an Azure AD group. I want to filter the people picker so that it only displays people from the table with the same officelocation as the logged in user of the app. How would that formula be structured an where would I need it to go? items?
Hello, @ahhollan, In the Excel table that you have created from the Azure AD Group, do you have the OfficeLocation, and the User Display Name or Emails?
If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.
I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.
Visit my Blog: www.powerplatformplace.com
I actually figured it out.
First, I created a label that houses the current user's officelocation.
Office365Users.UserProfileV2(User().Email).officeLocation
Then I refer to that label in the following formula.
SortByColumns(Filter(colUsers,officeLocation=Label1.Text),"displayName",SortOrder.Ascending)
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 846
Valantis 532
Haque 410