Access "uncle" aggregation from bucket

This is unfortunately not currently possible. It's something we have talked about, would love to add and have even attempted to add but unfortunately it requires some tricky problems in the reduce phase of aggregations to be overcome.

For now the final part of this calculation needs to be done in the client application to obtain figures like the percentages you are after here.

1 Like