Notifications
Announcements
In PowerFx, while IN only checks for an exact match and doesn't support case-insensitive substring searches, you can accomplish your goal using a combination of functions that allow you to perform a case-insensitive search for a substring.
IN
Since you're using Copilot Studio (which doesn’t support MATCH or MATCHALL), you can work around this limitation by using the Lower function (for case insensitivity) combined with Search or Len (for checking the presence of a substring).
MATCH
MATCHALL
Lower
Search
Len
Here’s an approach to do a case-insensitive substring search:
If( Len(Search(Lower(Text), Lower("fox"))) > 0, true, false )
Lower(Text)
Lower("fox")
Search(Lower(Text), Lower("fox"))
-1
Len(...) > 0
'the lazy fox jumps over the quick brown dog.'
'FOX'
This formula will return TRUE because "fox" is found in the string, regardless of case.
If you want a simpler boolean result (i.e., just true or false without using If), you can directly use:
true
false
If
Len(Search(Lower(Text), Lower("fox"))) > 0
This directly returns true or false based on whether the substring is found.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 261 Super User 2025 Season 2
Romain The Low-Code... 198 Super User 2025 Season 2
S-Venkadesh 93 Moderator