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 / Autofill form through ...
Power Apps
Answered

Autofill form through sharepoint data

(1) ShareShare
ReportReport
Posted on by 23

Hi All, 

 

I currently have a sharepoint list that includes "employee name" as a single line of text and "gender" as a choice. 

 

When filling out a form via PowerApp I want to be able to type in the employee's name and if it matches the SharePoint list it will autofill the "gender" box. 

 

How would i go about making this? 

 

Categories:
I have the same question (0)
  • Verified answer
    Daniel Bocklandt Profile Picture
    5,137 Super User 2026 Season 1 on at

    Hey @minibee11 ,

     

    You can do it by putting in default of your dropdown 

    If(CountRows(LookUp(SharepointList, Name=TextBox.Text))=0,Blank(),LookUp(SharepointList, Name=TextBox.Text,Gender))

     

    Let me know if it helped you

     

     

  • minibee11 Profile Picture
    23 on at

    Hi Thanks for your reply. 

     

    This doesn't seem to work. 

     

    I forgot to mention in my original post that the via app form is based off a separate SharePoint list. 

     

    E.g. I have a sharepoint list 1 named "staff register" which has employees names and their gender. 

     

    I have created a sharepoint list 2 where I can input their leave applications. When inputting their leave applications i want to be able to type their name and their gender is autofilled based of sharepoint list 1

  • Daniel Bocklandt Profile Picture
    5,137 Super User 2026 Season 1 on at

    Hey @minibee11 ,

     

    Did the solution I provided return any error? 

     

  • minibee11 Profile Picture
    23 on at

    It says "Delegation warning. The highlighted part of this formula might not work correctly with column 'Full Name' on large data sets."

  • Daniel Bocklandt Profile Picture
    5,137 Super User 2026 Season 1 on at

    That won't be a problem. 

     

    Just a quick explanation: The delegation warning says it can't process more then 500 records. since with the lookup function the app only wants 1 record this will never cause any problem for you. If this should be the reason, why the code doesn't work you can simply ignore it.

     

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

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard