Quantcast
Viewing all articles
Browse latest Browse all 47296

Combined Pivots

Guys and girls, once again I need your help :) I am trying to run a query from a "flattened" set of events (KV Store) (pic1) and collect the result, a pivot-like resultset, with the grand total as a field (pic2) into an index. ![alt text][1] ![alt text][2] I am struggling to get it done. I have a couple of questions: 1 - Is there any chance I can get the results displayed as JSON (inc. arrays)? 2 - I am not sure pic2 is the result of a count with many "by" criteria, but more like 3 values(xxx) and 4 count(xxx) collated. How can I achieve this? Thanks. [1]: /storage/temp/269659-pic1.png [2]: /storage/temp/269660-pic2.png

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>