Hi Power Apps Community,
I am trying to create an NewForm feature in Power Apps where one of the fields should be a lookup. I have tried the following, but have been unsuccessful:
LookUp(Collectionname, Field.Value = varCurrUser, ThisItem.Field)
Where varCurrUser = First(Split(Office365Users.MyProfile().UserPrincipalName, "@" )).Result
{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Value: LookUp(CollectionName, Field.Value = varCurrUser, ThisItem.Field)}
Note: The data is being stored in a Collection.
I would really appreciate any assistance.
Thank you in advance.