cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Impactful Individual
Impactful Individual

This Gallery Filter is performing strangely.

The Items property in my Gallery are filtered like this:

 

Filter(FinishedGoodsMaster,  SearchInput_2.Text in stDescLine1 || SearchInput_2.Text in stCodeParent ||
txtQrCode2.Text in stCodeParent)

This works fine if I enter a value in SearchInput_2.Text but not if I just put a value in txtQrCode (both Text Input fields).

Unusually, if I start entering a value in SearchInput_2, it suddenly filters on txtQrCode!

Am I getting these OR operators wrong?

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

This post would be helpful.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Multiple-Search/m-p/57765#M23904

If you like this post give thumps up. If it resolved your request then mark as a solution

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

This post would be helpful.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Multiple-Search/m-p/57765#M23904

If you like this post give thumps up. If it resolved your request then mark as a solution
stapes
Impactful Individual
Impactful Individual

Brilliant @eka24  - this works a treat:

 

Filter(FinishedGoodsMaster,  (SearchInput_2.Text in stDescLine1) , (SearchInput_2.Text in stCodeParent) ,
(txtQrCode2.Text in stCodeParent))

Always welcome

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,444)