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 / Power App Drop Down Lo...
Power Apps
Answered

Power App Drop Down Lookup Up auto populate

(0) ShareShare
ReportReport
Posted on by 90

Hello 

 

i have a SharePoint list named List 1 that has a lookup column named Customers that takes data from another list (List2) and has the customer info (like address,payment,tax code..etc).I create a power app form with Customer as a drop down and i want to auto populate the other fields (address ,payment,code..) based on the customer selection.

Any ideas ?

thank you

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Please which of the list is used as the items on the dropdown List1 or List2

    Also is it Distinct on the dropdown?

  • AndreasTR Profile Picture
    90 on at

    @eka24  thank you for reply

     

    its list1 that has the column customers .it s not distinct 

  • AndreasTR Profile Picture
    90 on at

    when i create new record i dont see the values of the other fields(tax code,Address..) when i select the customer

    new_record.jpg

    but if i save the record and re open it i see the values of the fields

    saved.jpg

  • eka24 Profile Picture
    20,923 on at

    Try and follow these steps:

    1. Insert a textbox1 and set it Default to: Dropdown1.Selected.Value using List1 (This picks the dropdown item)

    2. In your DatacardValue for Address put:
                    LookUp(List2,Customer=textbox1.Text,Address)
          For Payment DatacardValue:
                   LookUp(List2,Customer=textbox1.Text,Payment)

     

    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution

  • AndreasTR Profile Picture
    90 on at

    @eka24  thank you for reply

     

    i tried but its not working

    i cant see the selected customer address or the other fields based on customer selection

  • eka24 Profile Picture
    20,923 on at
    Please can you show screenshot of what you did
  • AndreasTR Profile Picture
    90 on at

    @eka24  thank you

     

    List 1

    list1.jpg

     

    list 2

    list2.jpg

     

    power app 

    lookup.jpg

  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @andreas_TR ,

     

    Customer Name, Address, Tax code are additional fields bound to Name Column, they only appear when Name Column is saved, even if in SharePoint. So I suggest you create some custom cards to show these additional fields.

     

    The workaround:

    1. Add a custom card in the form

    2. Add two labels in custom card 

    3. set Label1 Text property: Name: Customer Name

    4. Set Label2 Text property: 

    LookUp('List 2',ID=DataCardValue1.Selected.Id).'Customer Name' // DataCardValue1 is the control Name of Name combo box.

     

    Snipaste_2020-03-06_16-36-34.png

     

    Sik

     

     

  • alex2712 Profile Picture
    2 on at

    Have you got any more detailed instructions, I am trying to do this on my powerapp but I can't seem to get it to work?

     

    Thanks

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard