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 / 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,781 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard