cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Re: Not works the filter function

@RandyHayes 

 

I'm trying to make a normal search bar, when I type something, filter the results, and when I don't have anything written, all the orders will appear.

 

I don't know if it has something to do that is grouped or has a sub gallery

Highlighted
Super User III
Super User III

Re: Not works the filter function

@Anonymous 

So, that is much different than what I understood from your messages.

In this case, set your formula to the following:

GroupBy(
    Search(OrdenesAbiertas, TextSearchBox1.Text, "ORDEN_x0020_VENTA"),
    "ORDEN_x0020_VENTA",
    "Ordendeventa"
)

This will provide what you just described.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Anonymous
Not applicable

Re: Not works the filter function

@RandyHayes 

 

Apparently it works with other fields in the list such as "ESTATUS" but does not work with ORDER_x0020_VENTA, which means that the search is done in the sub gallery and not the main gallery that is where the order number is hosted

 

Every time I get closer to the solution

 

SUB.PNGorder.PNG

 

 

Highlighted
Super User III
Super User III

Re: Not works the filter function

@Anonymous 

Actually, now seeing a screenshot with the ORDEN_x0020_VENTA...is that defined as a numeric column or a text column?

There is no particular "hosting" of values in main or sub galleries. It is all based on the formula and your grouping.  In this case, when using the "ESTATUS" column, you're just filtering/searching on that column in the main list OrdenesAbiertas and then grouping.  You need ORDER_x0020_VENTA to filter/search and then group.  (Remember, your Search is inside the GroupBy, so the main/sub galleries play no part).

 

So...what kind of column is ORDEN_x0020_VENTA?

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Anonymous
Not applicable

Re: Not works the filter function

Yes is a numeric column in a sharepoint list
NUMBER.PNG

Highlighted
Super User III
Super User III

Re: Not works the filter function

@Anonymous 

Now we're getting there...

Change the formula to this:

GroupBy(
    Search(
          AddColumns(OrdenesAbiertas,
                  "txtOrden", Text(ORDEN_x0020_VENTA)
                  ), 
         TextSearchBox1.Text, "txtOrden"),
    "ORDEN_x0020_VENTA",
    "Ordendeventa"
)

We need to convert the numeric to text as the Search function only works on text columns.  The AddColumns function above gives us a valid text column to search.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Not works the filter function

Yeeees, its works!!! thankyou so much Smiley Happy

 

 

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,494)