Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: ejonesThe way you say you already know how to do with more than one agg is the easiest to understand and maintain, so I would normally recommend doing it that way.
But there are always exceptions, maybe if there is a very strong need for optimization. Attached is a graph given to me by Ted Czotter, once CTO of Lavastorm, when I was asking similar questions.
Attachments:
DemoCustomAgg.brg