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 / TextInput Search Box t...
Power Apps
Answered

TextInput Search Box that I need to filter gallery by Order Number which is a list column

(0) ShareShare
ReportReport
Posted on by 341

I created a search box that I need to filter the gallery by Order Number. Order Number is a list column.

Categories:
I have the same question (0)
  • turnerj3 Profile Picture
    2,039 on at

    Filter('YourListNameHere','Order Number'=Value(TextInput1.Text))

  • Evan_S1 Profile Picture
    341 on at

    where does this function go? the gallery? the search box?

  • turnerj3 Profile Picture
    2,039 on at

    Gallery Items Property

  • Evan_S1 Profile Picture
    341 on at

    This is what I have and my whole gallery went black.

    Filter('Production Stoppage - DRAFT 1','Order No'=Value(SearchBox_2.Text))

     

    My Information is below

    List is named: Production Stoppage - DRAFT 1

    List column is: Order No (Which is input by text)

    Search box name is: SearchBox_2

  • turnerj3 Profile Picture
    2,039 on at

    Are there any errors?

    What did you enter in the SearchBox?

    If the order no is not a number you can take the Value() out and just try SearchBox_2.Text

  • Evan_S1 Profile Picture
    341 on at

    this is what it looks like now. 

    Evan_S1_0-1681482351506.png

     

     

  • turnerj3 Profile Picture
    2,039 on at

    Show me the whole code for your gallery. It should just be the filter.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Evan_S1,

    Have you solved your problem?

     

    Actually, if the you just input something key words in search box, you need to use the "in" instead of the "=":

    Filter('Production Stoppage - DRAFT 1','Order No' in SearchBox_2.Text)

    If this does not work either, please do post the complete formula in the Items property of the Gallery.

  • Evan_S1 Profile Picture
    341 on at

    Here is my code below.

     

    Switch(
    btnChoice,
    Vertical,
    Filter('Production Stoppage - DRAFT 1', "Vertical" in Area.Value),
    Modified,
    Filter('Production Stoppage - DRAFT 1', "Modified" in Area.Value),
    'Quick Ship',
    Filter('Production Stoppage - DRAFT 1', "Quick Ship" in Area.Value),
    Machining,
    Filter('Production Stoppage - DRAFT 1', "Machining" in Area.Value),
    Repairs,
    Filter('Production Stoppage - DRAFT 1', "Repair" in Area.Value),
    Horizontal,
    Filter('Production Stoppage - DRAFT 1', "Horizontal" in Area.Value),
    Shipping,
    Filter('Production Stoppage - DRAFT 1', "Shipping/Receiving" in Area.Value),
    'Material Handling',
    Filter('Production Stoppage - DRAFT 1', "Material Handling" in Area.Value),
    'Paint Booth',
    Filter('Production Stoppage - DRAFT 1', "Paint Booth" in Area.Value),
    ORE,
    Filter('Production Stoppage - DRAFT 1', "ORE" in Responsible.Value),
    Logistics,
    Filter('Production Stoppage - DRAFT 1', "Logistics" in Responsible.Value),
    Purchasing,
    Filter('Production Stoppage - DRAFT 1', "Purchasing" in Responsible.Value),
    Quality,
    Filter('Production Stoppage - DRAFT 1', "Quality" in Responsible.Value),
    'Production Stoppage - DRAFT 1'
    ); Filter('Production Stoppage - DRAFT 1','Order No'=Value(SearchBox_2.Text))

  • Evan_S1 Profile Picture
    341 on at

    This is my code below. Am I just putting it in the wrong format? The gallery still goes blank when I try to add the search box filter.

     

    Switch(
    btnChoice,
    Vertical,
    Filter('Production Stoppage - DRAFT 1', "Vertical" in Area.Value),
    Modified,
    Filter('Production Stoppage - DRAFT 1', "Modified" in Area.Value),
    'Quick Ship',
    Filter('Production Stoppage - DRAFT 1', "Quick Ship" in Area.Value),
    Machining,
    Filter('Production Stoppage - DRAFT 1', "Machining" in Area.Value),
    Repairs,
    Filter('Production Stoppage - DRAFT 1', "Repair" in Area.Value),
    Horizontal,
    Filter('Production Stoppage - DRAFT 1', "Horizontal" in Area.Value),
    Shipping,
    Filter('Production Stoppage - DRAFT 1', "Shipping/Receiving" in Area.Value),
    'Material Handling',
    Filter('Production Stoppage - DRAFT 1', "Material Handling" in Area.Value),
    'Paint Booth',
    Filter('Production Stoppage - DRAFT 1', "Paint Booth" in Area.Value),
    ORE,
    Filter('Production Stoppage - DRAFT 1', "ORE" in Responsible.Value),
    Logistics,
    Filter('Production Stoppage - DRAFT 1', "Logistics" in Responsible.Value),
    Purchasing,
    Filter('Production Stoppage - DRAFT 1', "Purchasing" in Responsible.Value),
    Quality,
    Filter('Production Stoppage - DRAFT 1', "Quality" in Responsible.Value),
    'Production Stoppage - DRAFT 1'

    ); Filter('Production Stoppage - DRAFT 1','Order No' in SearchBox_2.Text)

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

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard