

Binning and regrouping aggregates
A common workflow is looking at a distribution and then trying to understand patterns in the aggregation - percent of users by lifetime orders; distribution of brands by count of SKUs, distribution of sessions or activities by user. For these analyses we can use saved views and binning to share distribution of aggregates. We got through the following multi-stage analysis to do this with UI, and we’ll share an alternative in SQL.Setup
- Build baseline query where we want to analyze distribution. Here we’ll look at lifetime orders per user:

- Save a query view. Note Omni will strip the limit from the query view in order to retain the full data set.
- Navigate to All Views & Fields to find our new table
- Bin our aggregate (per section above)
- Query and visualize:



