Help converting a GSheets formula to AppSheet

Hello everyone,
I need help converting a GSheets formula to AppSheet.
My goal is to be able to filter a view according to a column - letโ€™s call it [CODE].
Using the advanced search DEMO, I can filter a code, but currently in GSheets I use a field like this:
123 + 456 + 367
With Substitute () and Query () I can get a filter from these 3 rows, but in AppSheet I canโ€™t get that view.

The search field cannot be enumList because the goal is to make copyPaste something like (with a variable number of entrys):

123 + 456 + 367

and get something like this:

FILTER ("PRODUCTS", OR (123 = [CODE],
456 = [CODE],
367 = [CODE])
)

Itโ€™s possible?

0 5 960
5 REPLIES 5

Any chance you can share a reference design/ sample app and/or google sheet against which to work?

Hello @TyAlevizos.

So itโ€™s like this:
While creating a new SampleApp to explain you what my goal was, I could see that with a help column I achieved the goal.
Thank you however you made me make the App because I had tried in many ways and could not.
I leave here anyway how I got it:

I create a VC [RESULTADOS] - Type List with:

    FILTER("PRODUTOS",  
      IN([Cรณdigo],[_THISROW].[Cรณdigo]) 
      )

And create a Help Column [HelpCรณdigo] - Type Text

in Column [Cรณdigo] - Type EnumLis t put the App Formula:

SUBSTITUTE([HelpCรณdigo]," "," , ")

This the result, and is important when you want to analyze some rows that you can copy from a spreadsheet

Thank you very much.

Wow thatโ€™s cool. Thank you for sharing @Sergio_Sa

UPDATE:
I share the workaround here to search for word fragments in multiple columns.
Hope it is useful for someone.

The formula used is:

 IFS(
    ISBLANK([HelpCรณdigo]),FILTER("PRODUTOS",TRUE),
    FIND('%',[HelpCรณdigo])> 0,
    FILTER("PRODUTOS",AND(CONTAINS([Search],[_THISROW].[S1]),CONTAINS([Search],[_THISROW].[S2]),CONTAINS([Search],[_THISROW].[S3]))),
    FIND('%',[HelpCรณdigo])= 0,FILTER("PRODUTOS",IN([Cรณdigo],[_THISROW].[Cรณdigo])
    )

and for [S1], [S2] AND [S3]:

IF(ISBLANK(INDEX(SPLIT([HelpCรณdigo],"%"),1))," ",INDEX(SPLIT([HelpCรณdigo],"%"),1))

Changing the INDEX number
Based on:

from @GreenFlux

Great ! Thank you @Sergio_Sa

Top Labels in this Space