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 / Update field when look...
Power Apps
Answered

Update field when lookup selection changes

(2) ShareShare
ReportReport
Posted on by 39
Hello, 
I have 2 SharePoint lists: incidents and suppliers. 
 
The suppliers list has fields Name, primaryEmail, and some others.
 
The incident list has a supplier lookup field that relates to the name field from the suppliers list. The incident list also has a primaryEmail field that does not relate back to the suppliers table. The reason it does not relate is because at the time of the incident, we need to save the primary email. At some point in the future, the supplier's primary email may change, but we do not want it to change on any previous incidents.
 
On my form, I have a combobox for the supplier name to allow the user to select a supplier, and I have a textbox for the primary email which needs to populate when the supplier name is changed.
 
How do I set the primaryEmail in the form when the user changes the supplier selection?
 
Sorry if this seems a rudimentary question, but I am very new to Power Apps and am still learning.
Thanks
Kevin
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,427 Most Valuable Professional on at
    You would set the Default of the email text box to look up the relevant email
    LookUp(
       SupplierList,
       NameField = YourDropdownSelection
    ).EmailField
    then OnChange of the drop-down
    Reset(YourTextBox)
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard