Hi there!
I’m building an employee directory in Powerapps. I have it when a user type in a name in the txtEmployeeName search box, it will display that user’s information with a photo in galMain gallery. Also, another Gallery for the manager (galManager) and direct reports (galDirect) for that selected user. What would be the best way to do the OnSelect when they click on a Manager or Direct Report’s photo, that selected user populate into the galMain and have it show their manager and directs? For example, I click on Charlie Brown's photo from the Direct Reports, He will show up in the galMain and show his information. Below are the formulas for the galleries.

galMain Items - Filter(Office365Users.SearchUser({searchTerm:txtEmployeeName.Text}),IsBlank(Department)= false,AccountEnabled=true)
galManager Items - Office365Users.Manager(galMain.Selected.UserPrincipalName)
galDirect Items - Office365Users.DirectReports(galMain.Selected.UserPrincipalName)
Photos - Office365Users.UserPhoto(ThisItem.UserPrincipalName)
Thank you for your time.
Tim