Please, help me to solve this mistery.
I have an App with a gallery based on SharePoint list and I filter the gallery on current user:
Filter(MySPOList, Employee = User().Email)
It works perfectly.
Then I have this function (used on OnVisibile of First Screen):
If(
CountIf(
MySPOList,
Employee = User().Email
) = 0,
"No item found"
)
this not work only for particular users.
I found that this users have an inusual email address in SPO. For example: Name.Surname@company.com instead of name.surname@company.com. Here an example (note that the only field that match with User().Email is the UserName:
I know that PowerApps is case sensitive and that User().email is always lower case so it's normal that the second function don't work.... but why the first work????!!!!
Thanks, EmMa73