TSVB Percentage Gauge

Hi All,
Im trying my first TSVB-Visualisation.
I have 2 diffrent index both have the field id.
I want to have the proportion of the count of the field id from index1 to the count of the field id in both indexes
So that i can see something like 60% of all documents are in the index 1.

I found this blog entry: Counting occurrence of two events and then displaying the percentage

but i cant find the calculation aggregation (Version 7.5.1)

how can i realize that?

Thanks,
Simon

Hi @KoettingSimon
That was an old version of TSVB, the Calculation aggregation is now called Bucket Script.
There is also an updated blog post with percentage calculation if you are interested: