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 / Search function not wo...
Power Apps
Answered

Search function not working instead giving out blank gallery

(0) ShareShare
ReportReport
Posted on by 48

Hello All , 

I am pretty new to Power apps 

I am connecting an excel file which is stored in sharepoint 

I am using excel online connector to connect to powerapps 

 

I am using following powerfx formula but it ends up giving blank gallery instead of searching 

the table is only 50 row big

 

formula is 
search(maintable,impsearch.text,"Name")

Please help

Categories:
I have the same question (0)
  • sujitthakur Profile Picture
    48 on at

    please help @WarrenBelz 

  • sujitthakur Profile Picture
    48 on at

    please help @ADCommunity 

  • sujitthakur Profile Picture
    48 on at

    @Drrickryp 

  • Verified answer
    Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Hi @sujitthakur 

     

    It sounds like you just need to Filter your Gallery, not search.  Try this:

     

    1) Add a Gallery

    2) For the "Items" property, select your data source

    3) Add a text input

    4) Add a filter formula to the Gallery "Items" property to use this text input as your search

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/add-gallery#filter-and-sort-a-gallery

     

    The formula would look something like this:

    Filter(DataSource,Column = TextInput1.Text)
  • sujitthakur Profile Picture
    48 on at

    Hello @Rusk  it is still giving me a blank gallery please help

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @sujitthakur

    Excel is a terrible datasource. Move your data to SharePoint. 

  • sujitthakur Profile Picture
    48 on at

    @Drrickryp I will for sure after my demo to my seniors  

    But for now it is mandatory to be in excel as there are some external contributors to data 

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Is there a screenshot or something you can provide so we can troubleshoot why your gallery is blank?  Or at least the formula you are using would be helpful

  • sujitthakur Profile Picture
    48 on at

    sujitthakur_0-1675734730093.png

    @Rusk i tried using filter too but it dint work

     

  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    @sujitthakur ,

    As you tagged me, I will add a small contribution and support @Drrickryp here - the query power of Excel is very limited (compared with SharePoint) and I suspect you have a big list there. There is nothing wrong with your code (which would work perfectly in SharePoint). You could try StartsWith() and see if you get data that way.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard