Hello,
I have a combo box containing a list of users. And I'm trying to get the manager's email for the selected person. What I'm missing from the below formula?
Office365Users.ManagerV2(SelectBox.Selected.Result).mail
Any suggestions?
Thanks,
Omi
Solved! Go to Solution.
Okay, then you'll need to do a double call to the 365 user connector.
With({_user: First(Office365Users.SearchUserV2({SearchTerm:SelectBox.Selected.Result, top:1).value)},
Office365Users.ManagerV2(_user.Mail).mail
)
Office365Users.ManagerV2(emailaddresshere).mail
Depends...where are you putting this formula?
And what are the following properties of your combobox - Items, DefaultSelectedItems?
It needs an email address.
What is the items property of SelectBox?
Distinct(SortByColumns(Filter('[database].[Desc]',Year=YearBox_1.Selected.Result).FullName,"FullName",Ascending),FullName)
So your FullName column then is a text column in your datasource. You have no column with the email of whoever is "fullname"?
User | Count |
---|---|
253 | |
106 | |
88 | |
51 | |
43 |