web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : UrwLgn1KGKYYPIGW5LKzTV
Power Apps - Building Power Apps
Unanswered

Need Lookup function to bring back DisplayName from Lookup list to destination list person field in form

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2022 17:15:28 by 85

I have a lookup list named 'State Email Master' with the state (text), email address (text), and Rep (person field, multi-choice) fields. I have Three additional fields in my main form named State, 'Rep Email' (text), and 'Rep' (person field). I successfully have the 'Rep Email' field populated when the state field matches from the form to the lookup list using the below formula:

 

LookUp('States Email Master', State = Dropdown1.Selected.State, 'Email Address')

 

However I can't get the 'Rep' person field to populate from the lookup list using the same formula, obviously trying different field name combinations for the rep field.

  • ShawnPelletier Profile Picture
    85 on 28 Sep 2022 at 18:29:00
    Re: Need Lookup function to bring back DisplayName from Lookup list to destination list person field in form

    This is what I used for the 'Reps' field in my form:

    Concat(LookUp('States Email Master', State = Dropdown1.Selected.State, 'Sales Reps'), DisplayName, ",")

     

    It's coming up with a generic message stating there is an error somewhere, if I use Concatenate instead it says the function has some invalid arguments.

  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 27 Sep 2022 at 18:02:58
    Re: Need Lookup function to bring back DisplayName from Lookup list to destination list person field in form

    @ShawnPelletier 

    The question is - your Rep column is a multi-select column...so, which choice would you want to look up??  The first one, the last one, or all of them?

     

    First one:

    First(LookUp('States Email Master', State = Dropdown1.Selected.State, Rep)).DisplayName

    Last one:

    Last(LookUp('States Email Master', State = Dropdown1.Selected.State, Rep)).DisplayName

    All of them:

    Concat(LookUp('States Email Master', State = Dropdown1.Selected.State, Rep), DisplayName, ",")

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete