Is it possible to get counts nested by 2 fields ? For example adverse events by patient sex and reaction type. The result would be something like a 2 dim array.
edit (since this account doesn't have enough reputation to comment on my own question) - not possible yet: thanks, that's what I needed to know. - why do I need it: to build graphics with more than 1 dimension involved (for example stacked bars). - the drilldown possibility: that's certainly useful, but not what I need here. Basically that would require 1 call to the API for each bar in the chart.
select count(*), field1, field2 from table group by field1, field2
.