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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get email of a ...
Power Apps
Unanswered

How to get email of a text name from a Datacard

(1) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

hi all,

 

Say I have a datacardvalue of "Louis Stevens" ? How can I get their email?

 

Lets say I have datacardvalue24 with this in its default -

 

LookUp([@'MASTER LIST'],'Job Title' = DataCardValue32_1.Selected.Value,'Attester')
 
which populates the name "Louis Steven".
 
Say I have text label, how can I get Louis' email ? ie Louis.Stevens@company.com.
Categories:
I have the same question (0)
  • Rajkumar_404 Profile Picture
    on at

    Hi @wonka1234 

     

    Assuming you have a text label (Label1), set its Text property to:

     

    LookUp(EMPLOYEE_LIST, Name = DataCardValue24.Text).Email

    (Or)

    LookUp(EMPLOYEE_LIST, Name = DataCardValue24.Text, Email)

     

    You might want to add some error handling to manage cases where the name is not found in the EMPLOYEE_LIST.

     

    IfError(
    LookUp(EMPLOYEE_LIST, Name = DataCardValue24.Text, Email),
    "Email not found"
    )

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard