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 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
    69,129 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard