How can i pass Current user to the Item property in Edit form powerapps - SharePoint List

Iron Contributor

Hi All,
I would like to embed a form in edit mode in a moder ui page.
When the user logs in and the page loads i want to get the current user in powersapps and pass it like so below in the item property of the Form in edit mode

Filter('People', = Email = User().Email)

 Email is a field in my SharePoint list and User().Email is the logged on user and i can confirm i can get that value

But i get error



Is this possible with powerapps?
If not what options do i have?


Regards and thanks

2 Replies
Try Filter('People', Email = User(). Email)
Thanks Brendan
Thats exactly what i tried in my original post