Is there a way to selectively hide certain columns depending on the filter?

Right now I have been using the "hide column when summarized", and then summarizing one filter and not summarizing another filter, but this is an inelegant workaround.

Thanks

Steve