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 / Gallery shows only fir...
Power Apps
Unanswered

Gallery shows only first few results despite {searchTerm:SearchText.Text,top:50}

(0) ShareShare
ReportReport
Posted on by 26

I am aware of the "top:X number" command, but my gallery still shows only the first few users, so mostly people, whose name starts with A or B. 

 

Here are the codes and image for easier presentation:

J_1_0-1655712627133.png

Gallery: varTable
Search button: Set(varTable, Filter(Office365Users.SearchUser({searchTerm:IskalnikZaposlenihTxt.Text,top:50}), Department = OddelekDropdown.Selected.Result, IsMatch(Mail, "xyz", Contains & IgnoreCase)))
Department dropdown: Distinct(Office365Users.SearchUser({searchTerm:IskalnikZaposlenihTxt.Text,top:50}), Department)

 

At the moment, when selecting a department, it brake its down into only first few people, (IT department goes for 8 people to showing just 3, and the name of all 3 starts with A, same goes for other departments, where it brakes it so that a dept. with 20 people only shows 1 or 2 max). If i search manually for the person who isnt being showed in the dept. he shows up and the dept. dropdown still displays the correct department. 

 

So how can i make it so that the whole dept is getting shown instead of just the first few people ?
Any help is appriciated, thank you!

Categories:

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

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard