Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Filter remove case sensitivity

When I try using Lower() function at the column of my filter, it always return false please refer to the pics below. But if I remove the Lower() function for my filter It returns the required value. I need the Lower() for the column because other email address on my sharepoint has a combination of capital and small letters.

Super User II
Super User II



If you're trying to filter by email address, it's also worth noting a few things:


1. (tip) During App OnStart, set your User or User().Email to a variable - this means you can refer to it elsewhere quickly and it does not need to do a network lookup every time you call it as it is now a static variable

Set( CurrentUserEmail, Lower(User().Email) )


2. (possibly the problem) The addresses you have stored in SharePoint, are these email addresses or UPN's (User Principal Name)? User().Email actually gets you the user's UPN, which is like their domain login address, whereas using the Office365Users connector we can get a person's Actual email address (as UPN and Email address can be completely different, UPN might be but email address might be - in many companies these will be the same due to Single-Sign-On requirements, but not always)


3. (other workaround) Would it not be easier to create a Power Automate flow that goes through every SharePoint item in that list and replaces the email address with Lower(Email)?





Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!

You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,120)