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 / PowerApps Gallery sear...
Power Apps
Unanswered

PowerApps Gallery search function not working

(0) ShareShare
ReportReport
Posted on by 47

Hi,

 

I have created a gallery logged items in the app. Backend system is SharePoint.

 

I have created various search functions:

Search by: ID & Title & Risk/Issue & Risk Category & Raised by & Risk owner and Mitigation owner:

 

I have created the code below does work for all the search category however the ID column does not do any kind of search.

Gallery label is galriskissue

 

SortByColumns(
    Search(
       Filter(
           RiskIssueTrackerV2,
            Len(txtNameFilter.Text) = 0 || StartsWith('Your name'.DisplayName,txtNameFilter.Text),
           Len(txtMitigationOwner.Text) = 0 || StartsWith('Mitigation Owner'.DisplayName,txtMitigationOwner.Text),
            Len(txtRiskOwner.Text) = 0 || StartsWith('Risk or Issue Owner'.DisplayName,txtRiskOwner.Text),
           Len(RiskorIssue.Selected.Value) = 0 || 'Risk or Issue'.Value = RiskorIssue.Selected.Value,
            Len(DataRiskCat.Selected.Value) = 0 || 'Risk or Issue Category'.Value = DataRiskCat.Selected.Value),
        TxtTitle.Text,
       "Title"),
       "ID",
 If(varSortDirection = SortOrder.Ascending,SortOrder.Descending,SortOrder.Ascending))
 
PrashantParekh_0-1713537551763.png

 

I also get a delegable warning however i only have about 50 items logged (which is less than 2000) 

 

Please help?

Categories:
I have the same question (0)
  • BhargavPatel Profile Picture
    660 Moderator on at

    @PrashantParekh, your code does not contain a filter condition specified for the ID column. It only has Sorting on the ID column. 

    Snag_4e1fb1.png

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