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 / No results with filter
Power Apps
Unanswered

No results with filter

(0) ShareShare
ReportReport
Posted on by

Hello,

 

i have created a PowerApp with a searchbox. I've used the formula SortByColumns(Filter([@Namefile], StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))

I get no results if i try to search an item ? How can i solve this?

 

Thanks

Categories:
  • Ethan_009 Profile Picture
    4,840 Moderator on at

    Hi @MDR26 ,

     

    Your formula indicates the presence of some text that needs to be found. If there's no text then it won't show All results.

    If you need other values then use this else remove the added condition:

    Sort(
     Filter(
     [@Namefile],
     (IsBlank(TextSearchBox1.Text) || StartsWith(Title, TextSearchBox1.Text)) 
     ),
     Title,
     If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)
    )

    Hope this helps

  • MDR26 Profile Picture
    on at

    @Ethan_R I tried this but still if a search a title the list is empty.

  • Ethan_009 Profile Picture
    4,840 Moderator on at

    Hi @MDR26 ,

     

    If you replace your datasource [@Namefile] to Namefile
    Does this helps??

    Make sure your datasource name is correct

     

    Also, are you getting any error?

  • MDR26 Profile Picture
    on at

    @Ethan_R 

    The datasource name is correct. I don't get an error. 

  • Ethan_009 Profile Picture
    4,840 Moderator on at

    Hmm @MDR26 ,

     

    If everything is correct and you have data in the datasource. 

    Refresh the datasource within the App's data collection or Remove and re-add the datasource.

    Once data is refreshed then it can show you data.

     

    Try this once.

  • MDR26 Profile Picture
    on at

    Still no respons 

    MDR26_0-1687860059872.png

     

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @MDR26 - what data source are you using?

  • MDR26 Profile Picture
    on at

    @timl Sharepoint libary

     

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @MDR26 

    If this is a SharePoint document library, 'Name' is the column that stores the document name. Perhaps you could try this instead.

    SortByColumns(Filter([@Namefile], StartsWith(Name, TextSearchBox1.Text)), "Name", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))

     

  • MDR26 Profile Picture
    on at

    @timl If i change the title to the name of the column i get no items.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard