Hi @Anonymous ,
Do you want to select columns as filter column dynamically via clicking the corresponding icon?
I have made a test on my side, please consider take a try with the following workaround:
Set the OnSelect property of the Column Selection Icon to following:
Set(SelectionColumn, "Column1")
Set(SelectionColumn, "Column2")
Set(SelectionColumn, "Column3")
...
...
Set the Items property of the Gallery to following:
Filter(
'Data Source',
If(
IsBlank(SelectionColumn),
true,
If(
SelectionColumn = "Column1",
StartsWith(Column1, "abc"),
SelectionColumn = "Column2",
StartsWith(Column2, "abc"),
SelectionColumn = "Column3",
StartsWith(Column3, "abc"),
...
...
)
)
)
If you typed the "abc" within the TextSearchText box, please consider modify above formula as below:
Filter(
'Data Source',
If(
IsBlank(SelectionColumn),
true,
If(
SelectionColumn = "Column1",
StartsWith(Column1, TextSearchBox1.Text),
SelectionColumn = "Column2",
StartsWith(Column2, TextSearchBox1.Text),
SelectionColumn = "Column3",
StartsWith(Column3, TextSearchBox1.Text),
...
...
)
)
)
Please consider take a try with above solution, then check if the issue is solved.
Best regards,