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 / Need help to auto popu...
Power Apps
Answered

Need help to auto populate a text field based on value in a lookup drop down field

(0) ShareShare
ReportReport
Posted on by 25

Hi Friends,

 

I need help with something I am struggling with. Please find the images below

 

Screenshot 1 (Primary SP list that PowerApps Submits value to): 
------------------------------------------------------------------------
This screeshot 1 shows that there is a PowerApps Form field named "IAT1-HiPort(PortfolioFrom)". This submits the value to the main list named "Cash Instructions Request Internal Transfer"

This field however, is a drop down field that is actually looking up another column titled "Name" from a secondary SP list called "CashTransfer-PortfolioMaster"

MainList.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screenshot 2 : 
-------------------

The below screenshot (the highlighted column) is the "Name" field that the IAT1 field is looking up to. 

secondarylist.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The requirement here, is have another powerapp field (Which is a text field) to auto populate with the value in the second column from screenshot 2, based on whatever value has been selected in the highlighted column in screenshot2.

 

Any suggestions please?

 

 

 

 

 

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    developerAJ Profile Picture
    4,763 on at

    @vastestuser 

     

    use the lookup 

     

    LookUp(CashTransfer-PortfolioMaster,HiPortCode=yourdropdown.selected.value).acc_attr

     

    Please click Accept as solution and Thumbs Up. 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 Thumbs Up.

  • Verified answer
    Shaheer Ahmad Profile Picture
    2,194 Moderator on at
    1. To auto-populate a text field based on the value selected in a lookup dropdown field in Power Apps, you can use a combination of formulas and properties. Here's a step-by-step guide:

      1. In Power Apps Studio, open the screen containing your form.

      2. Select the text field where you want to auto-populate the value.

      3. Locate the "Default" property of the text field in the right-hand pane.

      4. Set the "Default" property to the following formula:

     

    LookUp('CashTransfer-PortfolioMaster', Name = Dropdown1.Selected.Value).TextValue

     

    1. In this formula, replace 'CashTransfer-PortfolioMaster' with the name of your secondary SharePoint list. Replace Name with the column name in the secondary list that corresponds to the lookup dropdown values. Replace Dropdown1 with the name of your lookup dropdown control. Replace TextValue with the column name in the secondary list that you want to auto-populate in the text field.

    2. Save your form and test it out. When you select a value from the lookup dropdown field, the text field should automatically populate with the corresponding value from the secondary SharePoint list.

    Make sure to adjust the formula and property names based on your specific column names and control names in your application.

  • vastestuser Profile Picture
    25 on at

    Hi Shaheer,

     

    You are a genius That worked perfectly. Big fan of your way of explaining things clearly and detailed steps. Thanks so much 🙂 God bless

  • vastestuser Profile Picture
    25 on at

    thanks a ton mate. That helped

  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    My pleasure 

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

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard