datasweet / kibana-datasweet-formula

This Kibana plugin allows calculated metrics on any standard kibana visualizations.
Apache License 2.0
121 stars 34 forks source link

Table Footer Formula #4

Closed gmatheus closed 6 years ago

gmatheus commented 6 years ago

Hey,

I've noticed is that the formula doesn't work as expected for the "Total" table function. For example, I'm using sum function in the image below: screen shot 2018-03-05 at 18 20 22

Shouldn't the last column (a derived metric as percentage) be calculated by the formula as well? I mean, first sum the column values and then apply the formula (sum(agg1)/sum(agg3))?

Thanks!

charlotth commented 6 years ago

Hi ! At the moment, the total function is defined by kibana. I will see if i can override it. Thx for your report =)

gmatheus commented 6 years ago

@tcharlot-datasweet Hey, I fixed this bug in #14! Feel free to comment and suggest changes 🙂