
I have a people picker that defaults to the user's displayname
I have a text input box that I want to default to the department of the person listed in the people picker
I do not want it to default to the user'r department because despite the people picker defaulting to the user's name , we need the option to pick a name other than that of the user.
How do I achieve this?
Thanks
Hi @TJCappy ,
Try
First(Office365Users.SearchUser({SearchTerm: ComboBox.Selected.Email})).Department
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps