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:
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!

Report
All responses (
Answers (