button trigger a filter on a deck or card

In order to save real estate on my page I would like to add a button to my existing button set to filter a table or card. is this possible?