Yes. Say for example you have a variable that's blank to begin with.
Your gallery items property could be:
Filter(DataSource, If(!IsBlank(variable), Column = variable, true))
Then on the OnSelect property of the button, you could set the variable to some value. Something like:
Set(variable, TextInput1.Text)
Where TextInput1 is a text input where a user can type in a value (you could also get the value using a dropdown or an combo box, this is just an example).
So once the user clicks on the button, the variable gets a value and the gallery filters based on that value.
---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
Hardit Bhatia
https://thepoweraddict.com