In general you are correct about the "aggregate:" directive, but you CAN cheat by wrapping the expression in braces to make it passthrough SQL.
Code: [Select]
aggregate:{sum(revenue) over (partition by storeid)}
I STRONGLY recommend against doing it, bu...