Hello everybody!
I could use a little help with this topic. I have been reading a lot and watching youtube videos, but I can't get my filter to work properly.
This is my scenario: I have a SP database, and there are 2 columns that are multichoice, rest are texts mostly.
My gallery needs to be filtered by 5 components, they can be combined with eachother, or they can only select one to filter.
I can make this work perfectly when I don't have multichoice columns to filter. At first, I was only using my basic filters and the multichoice I had it applied in the Visible property of the gallery item to avoid delegation, but it runs very slow. But now, my problem got a little more complicated, because I had to add a new multichoice filter.

This is my filtering components, where "Categoría Productos" and "Empresa" are multichoices.
Razón Social: Combobox2, Text type, isSearchable, not multichoice
Nombre Fantasía: Combobox1, Text type, isSearchable, not multichoice
RUT: TextInput1
Empresa: Combobox2_1, Choice type, not searchable, multichoice
"Categoría Productos" create a collection with each selection that are collected in a collection and becomes the input to a hidden combobox (which I use for the filter). Collection name: colCategoria, Combobox 3
So, right now, my gallery is filtered with this formula:
If(
Len(ComboBox2_1.Selected.Value)=0;
'Base Proveedores';
Ungroup(
ForAll(
ComboBox2_1.SelectedItems As aSel;
Filter(
'Base Proveedores';
aSel.Value in 'Empresa a proveer'.Value; StartsWith(Title;TextInput1.Text) && IsBlank(TextInput1); (IsBlank(ComboBox2.Selected.Result) || ComboBox2.Selected.Result = 'Razón Social Completa') && (IsBlank(ComboBox1.Selected.Result) || ComboBox1.Selected.Result = 'Nombre de fantasía')
)
);
"Value"
)
)
And my item is Visible under this formula:
If(CountRows(ComboBox3.SelectedItems.Value)> 0 ;"yes" in Concat(ForAll(ComboBox3.SelectedItems.Value; If(Value in ThisItem.'Cat. Prod/Serv'.Value;"yes";"no"));Value);"true")
My main filter is not working at all and only filters under the Visible property.
Can you please help me?? I'm pretty sure there's got to be a smarter way to do this, but I just can't see it