Play with this and see if it’s useful for your scenario.
If it’s more than you require, you can just use SwitchIf()
in your filter to iterate over the columns.
EDIT: Forgot to specifically answer your question – to my knowledge, we don’t yet have programmatic access to columns.