With the mendix tab container widget it's not possible to display first the tab that you want dynamically, but if you only have two tabs in your page, you can create two tab container, one with the first tab as default, the other one with the second tab as default. (and you display them depending on your filter value).
Another alternative would be to try to use another widget from the marketplace
For example :
https://marketplace.mendix.com/link/component/2964
https://marketplace.mendix.com/link/component/894
Hi,
I Would Suggest to Create Separate Containers and placing your data in the corresponding container, then keeping the Visibility for containers.
Now you can put Custom CSS to make the containers look like Tabs.