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 / searching for integer ...
Power Apps
Answered

searching for integer value instead of text

(0) ShareShare
ReportReport
Posted on by 49

hi all,

I am new to power apps and do have a question.

I want to search for a integer string (blue marked below), but do not know how to do this.

 

presently, the formula is as follows

SortByColumns(Search([@koudemiddel_telling]; TextSearchBox1.Text; "cool_medium";"fles_stadaard_inhoud";"fles_totaal_gewicht"); "cool_medium"; If(SortDescending1; Descending; Ascending))

 

Knipsel.PNG

 

 

Thanks upfront for your guidance.

 

John

 

 

 

 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @jwi 
    What is the field name of your integer string?  You will need to included it as an argument to the Search function above.  Happy to help if you give me the field name.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • jwi Profile Picture
    49 on at

    @mdevaney 

    The name of the field is ThisItem.'fles_nr'

    Thanks!

    John

  • mdevaney Profile Picture
    29,993 Moderator on at

    @jwi 

    You can make it a searchable field by adding the column as an argument to Search function as shown below.

     

    SortByColumns(
     Search(
     [@koudemiddel_telling];
     TextSearchBox1.Text; 
     "cool_medium";
     "fles_stadaard_inhoud";
     "fles_totaal_gewicht";
     "fles_nr"
     );
     "cool_medium";
     If(
     SortDescending1;
     Descending;
     Ascending
     )
    )
    

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • jwi Profile Picture
    49 on at

    Hi @mdevaney ,

     

    unfortunately it is not worrking.

    the data is coming from an excel sheet (one my ondrive).

    Please find below the setting of the data in the column FLES_NR.

    Maybe it got something to do with that?

     

    Knipsel.PNG 

     

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @jwi 

    Numbers cannot be searched.  You can only search text strings. Convert all of your numbers to text and it will work.


    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

  • jwi Profile Picture
    49 on at

    Aha, now its clear!

    Thanks a lot, problem solved😀

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

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard