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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,811)