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 / filter on browsegallery
Power Apps
Answered

filter on browsegallery

(0) ShareShare
ReportReport
Posted on by
Hi
 
I'm trying to filter on multiple columns in the BrowseGallery but I'm getting an error on the Search. Can anyone provide me any help
 
SortByColumns(
    Filter(
    [@Boekenlijst];
    Search(Boekenlijst; TextSearchBox1.Text;TITEL;AUTEUR)
    );
     "Title"; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))
 
 
I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,616 Super User 2025 Season 2 on at
    Hello,
     
    Try this:
    ​SortByColumns(
        Filter(
            [@Boekenlijst];
            StartsWith(TITEL; TextSearchBox1.Text) || StartsWith(AUTEUR; TextSearchBox1.Text)
        );
        "Title";
        If(SortDescending1; SortOrder.Descending; SortOrder.Ascending)
    )
    
    ​
     
  • Verified answer
    mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at
    hey
     
     
     
    can u try this:
     
    SortByColumns(
        Filter(
            [@Boekenlijst],
            TextSearchBox1.Text = "" || 
            (TextSearchBox1.Text in TITEL || TextSearchBox1.Text in AUTEUR)
        ),
        "TITEL",
        If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)
    )
    
    if my answer helped please mark as verified,
     
     
    cheers
  • Verified answer
    WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at
    Firstly the response from mmbr1606 is correct using the alternate in filter. For your future reference, if you want to use Search, this is the structure
    SortByColumns(
       Search(
          [@Boekenlijst];
          TextSearchBox1.Text;
          TITEL;
          AUTEUR
       );
       "Title"; 
       If(
          SortDescending1; 
          SortOrder.Descending; 
          SortOrder.Ascending
       )
    )

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard