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 / SQL Case Sensitivity
Power Apps
Unanswered

SQL Case Sensitivity

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

Firstly, my apologies because I know this question has been asked and answered on a number of occasions, I'm hoping to get some current advice.

 

I'm having difficulty with Case Sensitive search in a Power App linked to an (on-premises) SQL Database.

 

Database collation is set as SQL_Latin1_General_CP1_CI_AS, Column collation is set as database default. Column in question was originally set to a data type of text, but has been changed to varchar(MAX).

 

I've also tried creating a view and specifically setting the columns in that view with Case Insensitive collation, and it still searches as Case Sensitive only.

 

Does anyone have any suggestions?

 

 

Cheers,

Ben

Categories:
I have the same question (0)
  • benhorder-c1 Profile Picture
    2 on at

    As I was finishing off the above post, I may have found an answer to my own question... My Gallery Items was set to:

    Search(Filter(Sort(Company,CompanyName,Ascending),CompanyStatus = StatusDropdown.Selected.Result And (EntityDropdown.Selected.Value="All" || CompanyTerritory = EntityDropdown.Selected.Value)),SearchBox.Text,"CompanyName")

     

    If I clean this up and just have the Search and Sort rather than the filters:

    Search(Sort(Company,CompanyName,Ascending),SearchBox.Text,"CompanyName")

    Then it works!

    Screenshot 2022-01-10 155610.png

    So, revised question. How do I Search AND Filter AND retain case insensitivity?

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard