Creating dynamically updating filters is unfortunately not possible. The closest example I think is this one, and there is a tutorial for it, that you can find here. You are probably also looking for taxonomy term or custom field filters, depending on your case.