web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard