Hi there @halil,
I see what you're doing there.
Firstly, you can use the default filters section within your table set up and reference your select values there.
Within your select2 data source, you can add a filter.
{{ select1.value ? yourdatasource.data.filter(x => x.category === select1.value) : yourdatasource.data }}
The terniary will take in account situations when nothing is selected in your category dropdown
Here are some useful posts:
How to use setFilterStack to filter values in an array - #4 by mckenna (in case you are using multitags)