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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to make Lookup cas...
Power Apps
Answered

How to make Lookup case-insensitive from SharePoint list

(0) ShareShare
ReportReport
Posted on by 2 Moderator

Hi,

 

I'm working with two SharePoint lists in a simple app.

 

In one list, I have the e-mail addresses in the title column and the name of the organisation the person belongs to in a separate column.

I want to show the organisation depending on the user who is logged in.
I managed to it with this "LookUp(Schulzugehörigkeit; Title = User().Email; Organisation)"
However, the LookUp is case-sensitive. I know all the e-mail adresses, but I don't know if the names are capitalised (some are). 

 

Is there a way to make this lookup case-insensitive to make it more robust?

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    You use the Lower or Upper function to convert the Title and email addresses so the result in same case before the comparison:

    LookUp(Schulzugehörigkeit; Lower(Title) = Lower(User().Email); Organisation)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • schwibach Profile Picture
    2 Moderator on at

    Perfect!

    Thank you so much!

  • Steve_CRP Profile Picture
    5 on at

    This is actually unnecessary. 

     

    Lookup in Sharepoint is already case insensitive.

    (ref: https://powerusers.microsoft.com/t5/Building-Power-Apps/Can-Case-sensitive-look-up-can-be-done-in-PowerApps-using/td-p/513984)

     

    Furthermore, adding Lower(...) makes it non-delegable - so not only is it unnecessary, but it could be detrimental too.

  • schwibach Profile Picture
    2 Moderator on at

    I'll check that out... 

    I think we had the problem in the past that filters in powerapps against user mails stored in SP lists did not work if the case did not match the user profile.

    I'll look into it.

  • SoloTa Profile Picture
    29 on at

    Lookup is case sensitive and that is the problem. That's why we try to find solution.
    But you're right in other conclusion: this makes the Lookup non-delegable and this creates even worse problem.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard