cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Continued Contributor
Continued Contributor

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
Highlighted
Super User III
Super User III

Re: This Gallery Filter is performing strangely.

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
Highlighted
Super User III
Super User III

Re: This Gallery Filter is performing strangely.

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

Highlighted
Continued Contributor
Continued Contributor

Re: This Gallery Filter is performing strangely.

Brilliant @eka24  - this works a treat:

 

Filter(FinishedGoodsMaster,  (SearchInput_2.Text in stDescLine1) , (SearchInput_2.Text in stCodeParent) ,
(txtQrCode2.Text in stCodeParent))
Highlighted
Super User III
Super User III

Re: This Gallery Filter is performing strangely.

Always welcome

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,862)