Can you clarify what you mean? Do you want to do two queries instead of the WITH (aka CTE)?

Two queries is a significant performance issue for queries like this -- where we've got several aggregates.