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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup in a table and ...
Power Apps
Unanswered

Lookup in a table and send an email with the data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm creating  formula that Lookups for a value in a table and it return thta value in an email

The formula should read the TextInput, then look in the table for that "Name" and if it is true, send an email with the User and Password

LookUp(
'[dbo].[Usuario]',
IsMatch(
TextInput1_14.Text,
"",
MatchOptions.Contains
),
Office365Outlook.SendEmail(
User().Email,
"Recuperar Contraseña",
User
)
)

Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to check whether the table contains the data in the textinput, if it contains, then send an email to current user?

    Could you tell me the field's data type that you want to filter based on the textinput?

    I assume that it is text type ,then try this formula:

    If(!IsEmpty(Lookup([dbo].[Usuario]',TextInput1_14.Text in fieldname)),
     Office365Outlook.SendEmail(
     User().Email,
     "Recuperar Contraseña",
     email body
     )
    )

    //please replace fieldname with the field that you want to filter based on.

    If you filter data, you need to specify the field name.

    If there's record meeting the requirements, the !IsEmpty()function will return ture, then the sendemail action will act.

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What i'm trying to do is to recover the user password

    I have a User and Password validation where the formula validate if the user and password are valid
    but i add a button to recover the password and I need that the formula Lookup in the SQL Table the Name of the user and if it matches it will send an email with the user and password
    i have 4 columns in the table
    User
    Password
    Name
    Last Name

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard