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 / I have an issue with m...
Power Apps
Answered

I have an issue with my results not found box

(0) ShareShare
ReportReport
Posted on by 16

When I type in a search box it does not filter and the "Results not found" box appears. How can I fix this issue? 

IssueSS2.PNG
IssueSS1.PNG
IssueSS1 (2).PNG
Categories:
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @bshroats5,

    Do you want to filter records based on each seach box so that any record matches the search text will display?

     

    If so, I think you should modify your formula as below, which needs to remove the And() part:

    vqiaqimsft_0-1683185344518.png

    So that, all the records that match to the search text in KeyWord_TextInput will show in the Gallery.

  • bshroats5 Profile Picture
    16 on at

    @v-qiaqi-msft I am still having the issue of the No results found still populating.

    IssueSS4.PNG
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @bshroats5,

    Don't worry, we just need to focus on the condition that makes the No results label visble.

    Please tell me that which formula of what formula you used to make the No results visible.

  • bshroats5 Profile Picture
    16 on at

    Hello @v-qiaqi-msft here is a screenshot of my code

    IssueSS5.PNG
  • WarrenBelz Profile Picture
    156,714 Most Valuable Professional on at

    Hi @bshroats5 ,

    Try Or || instead of And && and set the Default of all the Search Boxes to "" (empty string)

    If(
     CountRows(
     Filter(
     VBA,
     StartsWith(
     'Name of Vignette', 
     'Name Search Box'.Text
     ) ||
     StartWith(
     Age, 
     'Age Search Box'.Text
     ) || 
     StartsWith(
     Gender, 
     'Gender Search Box'.Text
     ) ||
     StartsWith(
     'Strengths/Weakness/Keywords', 
     'Keywords Search Box'.Text
     ) || 
     StartsWith(
     'TCOM Tool', 
     'TCOM Tool Search Box'.Text
     ) ||
     StartsWith(
     'Final or Practice', 
     'Final or Practice Search Box'.Text
     ) ||
     StartsWith(
     'Nationality/ Language', 
     'Language Search Box'.Text
     )
     )
     ) = 0,
     "No results found",
     ""
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • bret005 Profile Picture
    2 on at

    disregard

  • bshroats5 Profile Picture
    16 on at

    I made the changes and now my results not found box isn't populating at all.

    IssueSS6.PNG
  • WarrenBelz Profile Picture
    156,714 Most Valuable Professional on at

    @bret005 ,

    Your image did not display, but assuming you are not getting any errors, it is looking for any of the fields starting with their relevant search boxes and if no records are found, the message will appear. The code is valid if this is what you need. If records are found, the message will not display, but I assume you have this as the Items of the Gallery

    Filter(
     VBA,
     StartsWith(
     'Name of Vignette', 
     'Name Search Box'.Text
     ) ||
     StartWith(
     Age, 
     'Age Search Box'.Text
     ) || 
     StartsWith(
     Gender, 
     'Gender Search Box'.Text
     ) ||
     StartsWith(
     'Strengths/Weakness/Keywords', 
     'Keywords Search Box'.Text
     ) || 
     StartsWith(
     'TCOM Tool', 
     'TCOM Tool Search Box'.Text
     ) ||
     StartsWith(
     'Final or Practice', 
     'Final or Practice Search Box'.Text
     ) ||
     StartsWith(
     'Nationality/ Language', 
     'Language Search Box'.Text
     )
    )

    and if so, your Message Visible simply needs to be

    CountRows(YourGalleryName.AllItems) = 0

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • bshroats5 Profile Picture
    16 on at

    When I type in a result result that I know does not exist my "Results not found" box does not populate at all after the suggested changes.

     

    bshroats5_0-1683548170248.png

     

  • WarrenBelz Profile Picture
    156,714 Most Valuable Professional on at

    @bshroats5 ,

    Yes - but what is the Items of the gallery ?

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 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard