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 / Apply Multiple Text In...
Power Apps
Answered

Apply Multiple Text Input Filters to Gallery for Barcode Scanning

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

I am working on a application to look up an item from a Sharepoint list, scan barcode from product (via TextInput method) to change the status of the item to Complete.

 

The first thing I need help with is gallery filtering, I only want to show results from the two TextInputs "Title" and "PieceCode".

 

Steps below:

1. Filter the gallery list by first TextInput "TextInputTitle"-  Only want to see the items grouped in "Title" in my Sharepoint list (each item has a unique PieceCode).

2. Filter the gallery list by PieceCode, only one result should show in Gallery.

3. Scan box barcode (Text Input) which writes text value to item in Sharepoint list.

 

Below is the only thing I've gotten to work as expected...

Filter('CSV File',Title = TextInputTitle.Text)

 

I've tried the following code, but it doesn't work..

Filter('CSV File', StartsWith(Title,TextInput2.Text) || StartsWith(ShipToAddr2,TextInput2.Text))

 

Thanks in advance for your help.

ScenarioBarcode.png
Categories:
  • Verified answer
    MrJonesy Profile Picture
    9 on at

    I finally got this filter to work to show all items for 'Title' when "PieceCode" is blank, then refine the search by "PieceCode". Code below: 

     

    Filter(
    'CSV File',
    'Title' = TextInputTitle.Text,
    'PieceCode' = TextInputPieceCode.Text || IsBlank(TextInputPieceCode.Text)
    )

     

    Now I just need to figure out how to write "BoxScan" to the item in my Sharepoint list. 😞

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

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard