I make liberal use of the WITH clause when I write even mildly complex queries, and I’ve noticed that filters only work if they’re present in the top-level SELECT statement.

How much effort would it be to enable them for subqueries as well? It would make interactive dashboards with many possible filters much easier to accomplish.