cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Trying to Search a Filtered Gallery

I am trying to search a filtered Gallery and Both the Search and Filter functions work separately, not but when i put them together. (really new to Powerapps)

 

If(Filter('Part Add_1', Site.Value = Gallery10.Selected.Site) = true, Filter('Part Add_1', Value(Search_po.Text),"Process_x0023_")

This is what I am using. The Filter portion works, and the Search portion works, but when i try and put them together I get errors.  

1 ACCEPTED SOLUTION

Accepted Solutions

@dgarcia ,

Try this

Search(
   Filter(
      Part Add_1', 
      Site.Value = Gallery10.Selected.Site
   ), 
   Search_po.Text,
   "Process_x0023_"
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
Super User III
Super User III

Hi @dgarcia ,

Firstly, this returns a Table, so how can it be true?

Filter(
  Part Add_1', 
   Site.Value = Gallery10.Selected.Site
)

Also I assume you are wanting to Search in the field Process_x0023_ with Search_po.Text - if so why have you wrapped it in Value() - Search only works on Text.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

The first part, Is a gallery of a list, with the Site locations. See below blue button location. This alone works great.

 

Filter(
  Part Add_1', 
   Site.Value = Gallery10.Selected.Site
)

 

 The second part, searches/filters a separate list for the Process order number. Again, separately they work, together not so much.

 

Filter('Part Add_1', Value(Search_po.Text),"Process_x0023_")

 

malinhelp.jpg

 

@dgarcia ,

Try this

Search(
   Filter(
      Part Add_1', 
      Site.Value = Gallery10.Selected.Site
   ), 
   Search_po.Text,
   "Process_x0023_"
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Well, I found out the issue with your help. It seems I can't search a Number type column. I changed the column to a text type and it works perfectly. Now i need to figure out how to make the numbers placed in the Process Order column tick up by the last input value.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,509)