web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering out users in...
Power Apps
Unanswered

Filtering out users in office 365 connector before top: 999

(0) ShareShare
ReportReport
Posted on by

I am looking to see if there is a way to filter out users that I do not want loaded in to my connector before doing the top:999. This is the code I have for my Gallery Item: FX code:

 

Sort(
Filter(
Filter(Office365Users.SearchUser({top: 999}),
AccountEnabled = true),
(StartsWith(DisplayName, 'Search Bar'.Text) || StartsWith(JobTitle, 'Search Bar'.Text))
&&
CountRows(Split(DisplayName, " ")) >= 1
&&
!IsBlank(JobTitle)
),
DisplayName
)

 

 

It is loading in the 999 and then filtering out from that, so my results are only going to the middle of the alphabet (displaying maybe 300 users). Is there a way to do all of my filtering first and then load the 999 so that I can see all of my users?

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 402

#2
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 293 Super User 2025 Season 2

Last 30 days Overall leaderboard