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 / Browse Gallery not wor...
Power Apps
Answered

Browse Gallery not working

(0) ShareShare
ReportReport
Posted on by 12

New to Power Apps. I am having this weird issue with Browse Gallery.

When I include the table under 'Items', I see the data but the search bar won't work.

 

And if I apply the below code to 'items', I don't see any data to search. The gallery is blank

 

SortByColumns(Search([@Table1], TextSearchBox1.Text, "column1","column2"),"column1", If(SortDescending1, Descending, Ascending))

 

 

any idea?

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @soyasticks ,

     

    I suggest you check the types of "column1" and "column2", because the column to be searched in search() needs to be a text column.

     

    If there is a column in these two columns that is not text, an error occurs, here is the test I did:

    Create a collection with the following formula, column1 is the number column, column2 is the text column.

    vxiaochenmsft_0-1670813033373.png

     

     

    Items uses the formula you provide without any data and prompts an error:

    vxiaochenmsft_1-1670813033377.png

     

     

    Create a collection with the following formula, column1 and column2 are both text columns.

    vxiaochenmsft_2-1670813033378.png

     

     

    Using the same formula, it is able to display data.

    vxiaochenmsft_3-1670813033381.png

     

     

    If this is the case, I suggest you modify the column type or use the following formula:

    SortByColumns(
        Filter(
            [@Table1],
            TextSearchBox1.Text in column1 || TextSearchBox1.Text in column2
        ),
        "column1",
        If(
            SortDescending1,
            Descending,
            Ascending
        )
    )

    vxiaochenmsft_4-1670813033384.png

     

     

    In other cases, If you can provide more detailed information such as screenshots, which will greatly help us solve the problem in the future.

     

    Best Regards,

    Wearsky

  • soyasticks Profile Picture
    12 on at

    Thank you~!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard