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:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 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,838 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,838 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
    36,634 Super User 2026 Season 1 on at

    @MDR26 - what data source are you using?

  • MDR26 Profile Picture
    on at

    @timl Sharepoint libary

     

  • timl Profile Picture
    36,634 Super User 2026 Season 1 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

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard