Hi there,
I'm quite new to Power Apps and I was wondering, what would be the best solution to my problem. I have a Drop-down control which Items are configured with this formula:
Distinct(Filter(PermissionList,OwnerID=lblOwnerID.Text),UserID)
This works as expected and I receive a list of X unique values from UserID column to my Drop-down control.
Now I would like to display real user names inside the Drop-down instead of user IDs. My idea was to use Office365Users connector with UserID argument, because it works good when used on a single ID like this:
Office365Users.UserProfile(lblUserID_test.Text).DisplayName
But I don't know how to use it for the complete table of results? I was thinking about ForAll function, use the first formula as a table argument and then use the second formula as a formula argument in ForAll, but it doesn't work for me...
Can I ask for your help or maybe for your suggestion of a better solution to my problem?
Many thanks for your advice! 🙂