Hi all,
I use Elasticsearch 5.5.
Like said in subject, I'm looking to know how many percent of users have 1, 2, 3, 4, 5+ orders.
Example:
50% of users having 1 order
10% of users having 2 orders
10% of users having 3 orders
10% of users having 4 orders
10% of users having 5 or more orders
It makes me crazy I try to combine aggregation to make it work but I didn't find the solution.
Thanks!