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 / Filter By Exact Number
Power Apps
Answered

Filter By Exact Number

(0) ShareShare
ReportReport
Posted on by 26

Hello All

 

I am displaying a SharePoint list in PowerApps. I have created two search boxes to filter the results. 

The StartsWith function works great for the Title, however the filter results for Row_x0020_Number doesnt work for us.

 

If we filter "3" the results also show "31", "32" and so on.. If we search "3" we only want to display 3 not the others. 

 

SortByColumns(Filter('tree import', StartsWith(Title, TextSearchBox1.Text)&& StartsWith(Row_x0020_Number, TextSearchBox1_1.Text)), "Title", If(SortDescending1, Descending, Ascending))

 

Any help would be appreciated

Categories:
I have the same question (0)
  • Verified answer
    wyotim Profile Picture
    2,545 on at

    I think the issue is in the StartsWith that you are using to compare Row_x0020_Number and TextSearchBox1_1.Text, which I believe is why you are getting items that start with 3.

     

    Maybe try:

     

    SortByColumns(
     Filter(
     'tree import', 
     StartsWith(Title, TextSearchBox1.Text) && 
     Row_x0020_Number = Value(TextSearchBox1_1.Text)
     ), 
     "Title", 
     If(SortDescending1, Descending, Ascending)
    )
  • GiZmO Profile Picture
    26 on at

    Thank you very much. That worked for me

  • wyotim Profile Picture
    2,545 on at

    Happy to help out!

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 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard