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 / Auto-Populating person...
Power Apps
Unanswered

Auto-Populating person or group from another list based on current user signed in

(0) ShareShare
ReportReport
Posted on by 1,712

Hello,

I have an Employees information list that contains the following columns:
Name(Person or Group); Emp Number (Single line of text).

Another list that contains also Name(Person or group) and Emp Number(Lookup that gets information from the Emp number in Employees information list) and I am customizing this list using PowerApps forms.

What I want to achieve is the following:

I want to populate in the form the Name and Emp number of the employee based on the current user signed in.

I was able to Lookup and populate the current user signed in, but unfortunately, I am still struggling to populate the EMP number of this current employee.

The DefaultSelectedItems property of the Employee Name Combobox is the following:

 

 

{ 
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", 
 Claims: "i:0#.f|membership|" & Lower(User().Email), 
 Department: "", 
 DisplayName: User().FullName, 
 Email: LookUp('Employees Information',Name = User().Email).'Employee Name', 
 JobTitle: ".", 
 Picture: "." 
 } 

 

 

The DefaultSelectedItems property of the EMP.NO Combobox is the following, and the error is the Expected table value and invalid argument type.

 

 

LookUp('Employees Information', 'EMP.NO' = DataCardValue2.Selected.DisplayName).Title

 

 

(I have used Title in the end because I have renamed the column to Emp NO in the employee's information list).

Please have a look at the below screenshots:
Capture.JPG

Capture2.JPG
Can please someone explains in detail and provide an example to achieve the above scenario?

Any help will be greatly appreciated.
Thank you!

Categories:
  • EBMRay Profile Picture
    1,712 on at

    Hello,

    Any advice on why the EMP number related to the current user signed is not populating from the other list?

    Any help will be greatly appreciated.
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard