Hi @vee_s ,
Could you please share a bit more about your scenario?
Do you want to display the magaer info and any people that may work below the selected user in right side of the screen?
Based on the formula that you provided, I think there is something wrong with it.
I have made a test on my side, please take a try with the following workaround:
Create a Tablet layout app on your side, and add two Gallery controls within it:


Set the Items property of the Gallery1 to following:
Office365Users.SearchUser({searchTerm:TextInput1.Text})
On your side, you should type:
Office365Users.SearchUser({searchTerm:txt_user_search})
Set the OnSelect property of the Gallery1 to following:
ClearCollect(
RecordsCollection,
Office365Users.Manager(ThisItem.Id), Office365Users.DirectReports(ThisItem.Id)
)
Set the Items property of the Gallery2 to following:
RecordsCollection
Please check the attached GIF screenshot for more details:
Best regards,