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 Automate / Do case insensitive OD...
Power Automate
Answered

Do case insensitive ODATA filter for List Rows

(0) ShareShare
ReportReport
Posted on by 38

I'm using the Dataverse List Rows action and want to do a case insensitive compare of strings in the filter. If I have "The Company" in my table and want to compare it to the a value "THE COMPANY" how would I do that? 

 

If I do a regular comparison, it's false:

 

my_name eq 'THE COMPANY'

 

I could do a toLower or toUpper on the passed in value, but that doesn't do me any good since that still returns false as well. What I really need to do is something like this:

 

ToLower(my_name) eq ToLower('THE COMPANY')

 

but it doesn't look like that is possible. It seems like my only option is to do a bunch of string manipulation on the passed in value to put the string into various cases and see if any of those match, but this seems like such a hack. 

 

my_name eq 'the company' or my_name eq 'THE COMPANY' or my_name eq 'The Company'

 

Is there something better I can do?

 

Thanks.

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Is the target field a text field?  In my testing the OData query for the List Rows action is case insensitive.  I have a table with People data in it.  cr394_city eq 'Cleveland' and cr394_city eq 'cleveland' queries retrieve the same set of rows.

  • kubalaml Profile Picture
    38 on at

    Hmm yeah it looks like it is case insensitive. Not sure what I tested with earlier, but I guess I messed something up. Thanks!

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard