Hi,
I'm struggling with some fucntions, if someone can help please.
1- On my App OnStart I have set Set(VarUser, User());
When I try to use this on my Gallery, Items property it wont find any records:
Filter('ListName', 'Created By'.Email = VarUser.Email)
But if I use the following this filters the items in the gallery:
Filter('ListName', 'Created By'.Email = User().Email)
I'm trying to avoid the delegation warning by setting the user as a variable but not getting any results.
2- I have another screen with a second Gallery and Edit form and I'd like the filtering to be based on 2 values in 2 fields which are SPO Person fields, i.e. User2 and User3 are both people fields and I'd like any items to display in the gallery if the logged in users name is in either of the 2 fields, I've tried the follwing but again the it doesnt work:
Filter('ListName', DataCardValue27_1.Selected.Email || DatacardCardValue28_1.Selected.Email)
Cant get both to work is someone able to assist please?