Hey
You can do that using bucket script aggregation that is available in Visual Builder,
bucket script allows you to create your own customized formula and it can use existing aggregation
this is an example:
I had 2 aggregations, sum(quantity) and sum(review) and then using bucket script I divided them
Let me know if you have any questions
Alona
Thanks Alona.
I've come to this page which is in Visual Builder.
I want to count total impressions from table A and total clicks from table B.
So I should have 2 aggregations, one is count(created) from table A and another is count(created) from table B.
How to choose different tables in this interface?
Then I want to calculate click-through rate ( total_clicks/total_impressions)?


