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 / Sort and Filter - view...
Power Apps
Answered

Sort and Filter - viewing data source items

(0) ShareShare
ReportReport
Posted on by 271

Hi,

I have connected the app to a data source that contains many rows. I am using the Search box to search, I was wondering how to filter and not show the garbage information ( as the data source is a sandbox environment). for example how to filter Customer name starting with # or ( and prevent it from appearing when the data source is loading

Aysan_1-1614700301410.png

 

Many thanks

 

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So you could wrap a filter function around the search where you filter out the text you don't want to see with IsMatch and a regular expression like so Filter(Accounts, IsMatch(Name,"[a-z]+"))

  • Aysan Profile Picture
    271 on at

    Hi,

    Thanks for your reply, sorry I am new to power apps 

    Could you please add the filter in the formula where it makes sense? 

    Sort(Search(Accounts, TextInputSearch.Text,"Name"), Name, Ascending) 

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Aysan ,

     

    Im not sure if it will work but try this:

     

    Sort(
    Search(Filter(Accounts, IsMatch(Name,"[a-z]+")),TextInputSearch.Text,"Name"), Name, Ascending) 

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry @Aysan, just replace accounts source in your search.

     

    Sort(Search(Filter(Accounts, IsMatch(Name,"[a-z]+")), TextInputSearch.Text,"Name"), Name, Ascending)

     

  • Aysan Profile Picture
    271 on at

    Thank you both for your replies 🙂 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard