Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Lookup on PowerApps form that will get name from another SharePoint list

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

I have a PowerApps form where data source is a SharePoint List. On form I have a Name column (single line of text in a SharePoint list). For that Name column I want to search employee name in another SharePoint list (Employee List). The Employee list has more than 200 employees so I don't want to create a dropdown on form. Is there a way to create a lookup column that will search employee name in another list when a user type letters in name column in PowerApps. 

 

Please advise.

Categories:
  • jaanihsm Profile Picture
    jaanihsm 300 on at
    Re: Lookup on PowerApps form that will get name from another SharePoint list

    Hi @v-qiaqi-msft! Trying to achieve this but get an error? Any directions?

    Members is a single-select person column on another SP list. Main list is 'ListData2', the other 'ListData2Members'. Thank you! 🙂

     

    jaanihsm_0-1717802569715.png

     

  • Re: Lookup on PowerApps form that will get name from another SharePoint list

    Thank you @v-qiaqi-msft . It worked.

  • Verified answer
    Re: Lookup on PowerApps form that will get name from another SharePoint list

    Hi @Anonymous,

    Based on the issue that you mentioned, do you want to search key words about the employee name?

    Could you please share a bit more about the scenario, do you have a form in your app?

    I think a Combo Box could achieve your needs.

    Replace the Text input control with the Combo Box.

    Set the Items property as below:

    Filter('Employee List'.'Employee Name',ComboBox7.SearchText in 'Employee Name')

    Set the DefaultSelectedItems property as below:

    [ThisItem.Name]

    Note that 'Employee Name' is a column existing in 'Employee List'. The Name is a column existing in your current list.

    Please make sure the "Allow searching" function is on.

    Hope it could help.

    Regards,

    Qi

  • WarrenBelz Profile Picture
    WarrenBelz 145,445 on at
    Re: Lookup on PowerApps form that will get name from another SharePoint list

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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

  • WarrenBelz Profile Picture
    WarrenBelz 145,445 on at
    Re: Lookup on PowerApps form that will get name from another SharePoint list

    Hi @Anonymous ,

    I am not sure exactly what you want to do with the output, but if you put this is a label, it will show matching employees as the user types in

    LookUp(
     YourOtherList,
     StartsWith(
     Name,
     YourTextInput.Text
     )
    ).Name

    Also, Name is a bad title for a field - the last section of this blog of mine may be helpful to you.

     

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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard