Notifications
Announcements
Lookup(Employee,ID= currentUser.ID) ​
How can I correctly fill a default value to lookup column field of PowerApp forms
Assuming
Use in the Default Value
Lookup(Employee,ID= currentUser.ID).UserID
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.
No this will not work. @happyume
The Default Property of the data card of myForm accepts a record .
from your formula, Lookup(Employee,ID= currentUser.ID).UserID -> number not record.
I wanted to assign a default value to a field in PowerApp form
Solution
In the Datacard of the UserID. I unlocked it from advanced panel then DefaultSelectedItems Property, I set as below
{
Id: currentUser.ID
Value:Id: currentUser.ID
}
It requires both Id as well as Value in the record
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268