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

Result Decimals Places Formatter #11

Closed pedrotcm closed 6 years ago

pedrotcm commented 6 years ago

The formatter in percentage, has how to format the number of decimal places?

lfroment-datasweet commented 6 years ago

Hi @pedroctm , we do not understand your question. Can you please give some details aout what you mean?

Regards

pedrotcm commented 6 years ago

It was the number of decimal places after the comma. In my case I managed to solve using the following formula to have two decimal places: round(agg1 / agg2 * 10000.0) / 10000.0

vanhul commented 3 years ago

@pedrotcm You are a fucking genious!