I followed the docs here …
But it doesn’t show how to add the parameter to the query?
Hey Brad. Are you looking for something other than typing in the name (:P1 in this case)?
The where clause comes before the group by.
I have a similar setup… my question is to find out how to use a custom query and add SUM to some of the fields. The other method of query we can use the Aggregate and Alias and create another ‘field’ name with SUM. Is something like this available to custom queries?
Yes, you can use SUM in your custom query. In my case I used COUNT but the syntax to use SUM is the same.
Awesome!