web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Strange behavior in Lo...
Power Apps
Unanswered

Strange behavior in LookUp on User Email

(0) ShareShare
ReportReport
Posted on by 8

Hi all,

I found a very strange behavior in a LookUp statement which I can't explain.
Maybe someone observed similar behavior or has an explanation for it.

Purpose of the app is to show a teams members and when they will be in or out of office.
This is based on a SharePoint list with a person field (User), two date fields (Start and End) and a select field (Type).
For the display, I use two nested galleries, the outer gallery with a distinct call to the list to get one entry per user and the inner gallery with a lookup call to find the state for the specific date.
The outer gallery has a hidden label (LabelEmail) to hold the User.Email received from the distinct call.
In the LookUp, I use this label to find the corresponding dataset, so I compare with User.Email = LabelEmail.Text.

 

Now this worked very well in my tests, but for one user it did not work.
Even though I confirmed, that both values are spelled exactly the same, LookUp does not return a dataset.
Changing the comparison to Lower(User.Email) = Lower(LabelEmail.Text) does return a result, but causes a delegation warning and thus slows down performance.

I have no idea why the first comparison does not work, but the second does, especially since both values are from the same source and must be identic.
Also there are no capitals in the strings.

Any ideas on why this happens or how to get around delegation warning are appreciated.


 

I have the same question (0)

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard