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 / filtering data in gall...
Power Apps
Answered

filtering data in gallery by numeric text

(0) ShareShare
ReportReport
Posted on by 6

Hi everyone,

I am new to Power Apps and i am just seeing whether i can use this to solve some business issues. i have done some VB.net programming years ago but i seem stuck on what seems a fairly basic thing. Hope you can help.

Ces_L_0-1601606754707.png

 

Essentially I am populating a gallery from an Excel file. What i want to be able to do is to filter the result based on a numeric criteria. You can see i have made a text field and a submit button and I want the resulting gallery to only show only results where the width equals the entry in the text field.

 

Whatever I try I get different errors and it seems to be a problem associated with data types. I am sure I am missing something basic here as it seems like it should be relatively easy. I am hoping someone can point me in the right direction as i have spent quite a while on it so far and it's pretty frustrating 🙂

 

 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ces_L 

    In your scenario you will need to specify the criteria in your filter.

    What type of column is Width in your data source?  If it is numeric, then you can set your Items property formula filter as follows:

    Filter(yourList, Width=Value(yourTextInput.Text))

    If it is text, then:

    Filter(yourList, Width=yourTextInput.Text)

    If something else...just post back what you have.

     

    I hope this is helpful for you. 

  • Ces_L Profile Picture
    6 on at

    Hi @RandyHayes 

     

    Thanks for your suggestions. I had actually tried those and got errors but when you asked me what sort of data was in the column that was the answer. I went back and checked the column properties in Excel and changed them to Number.  Then it started working as expected.

     

    I knew it would be some rookie error, thanks for your help. It really helped. 

     

    Cheers

    Ces

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard