Hi All, I'm working off the Org Browser PowerApp template and am just about completed. Just need this one last "issue" sorted.
I've been able to successfully add a Search by Department and Search by Job Titles to the template. What we've found however is that we just have way too many Job Titles in the organisation and would like to better group these Job Titles into a parent group/title so we can go from 50 Job Titles listed to 9. For example instead of having "Acting Technician", "Supporting Technician", "Leading Technician", it can be grouped as simply "Technician" and then lead to a new screen where it shows all users with the already mentioned Technician Job Titles.
Because I had some issues pulling the Job Titles using the Office365.SearchUser formula due to getting a whole bunch of duplicates and empty slots, I instead hard coded in the job titles using the following (Not ideal but it works):
["JobTitle1", "JobTitle2", "JobTitle3", "JobTitle4"]
I then have that go to another screen where it shows the users that match the selected Job Title using the following:
Filter(Office365Users.SearchUser({searchTerm:"",top:500}),JobTitle=GallerySearchUser_5.Selected.Value
)Is there a way I can alter this code so it shows all user based on the selection made? Remembering that "Technician" isn't a group, attribute or anything in O365 or AD.
Hoping what I've said actually makes any sense!