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 / Issue with Search Bar
Power Apps
Answered

Issue with Search Bar

(1) ShareShare
ReportReport
Posted on by

I have input a search bar into my Client Gallery. Inside my items section for the formula I have this:

NewberneData_0-1714596448158.png

When I got to preview to see if it works, This is the image I get:

NewberneData_1-1714596543117.png

 

All the information that I'm pulling is text formatted and one key thing to know is my delegation is over the "500" mark for data.

Can someone help out to let me know what I'm doing wrong.

 

Thanks for the help.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @NewberneData unless something has changed recently, the "No item to display" message is reserved for EditForm and DisplayForm controls, not for a Gallery control (which just should display blank if a search string has not been found). Therefore, the issue is not related to what you have in the Items property of the Gallery control, but because you do not have a valid record in the Item property of your Edit Form control.

  • CU15082249-0 Profile Picture
    on at

    Thanks for the quick response @Amik in my form section i have this formula in the "DefaultMode" for Edit Form:

    NewberneData_0-1714597869716.png

    Is this the section where I need to write my formula for the search bar?

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @NewberneData - I see you're a new member so I assume you do not understand the fundamentals. 

     

    What do you have in the Item property of your Edit Form control?

     

    I would also suggest watching this tutorial:

     

    https://www.youtube.com/watch?v=HHXKfB1iAH4 

  • CU15082249-0 Profile Picture
    on at

    The only thing I have right now in the Item part of my Forms is 

    ClientGallery.Selected,
    and thank you for that video. I'm actually going back over it now to see what I missed. I used that video as a reference to build my search bar.
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @NewberneData - is the DataSource property of the EditForm control the same data source as what you have in the Items property of the Gallery control?

  • CU15082249-0 Profile Picture
    on at

    Yes it does, the source of my Gallery is ran by my forms in the item section.

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @NewberneData - I will rephrase:

     

    Your data source (assume a SharePoint list) is called "CompleteList_1" and that you have "CompleteList_1" in the DataSource property of your EditForm?

  • CU15082249-0 Profile Picture
    on at

    @Amik that is correct

  • DCHammer Profile Picture
    716 Moderator on at

    Try using Filter() instead of Search() in your Items property for the gallery. Search may in fact work somehow but I've never used it.

    I know for sure that Filter() will work if your conditions are correct inside the statement. And you can tell if it's working even without the UI because the editor will show you what is returned if you select the entire Filter() statement with you mouse.

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @NewberneData - could you enter the below on the OnSelect property of your Gallery control and confirm what happens?

     

    EditForm('Your Form')

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard