I'd like to set decimal places with I create visulization in Kibana 7.12. The visualization could be TSVB, Gauge, aggregation, or lens. I want to show the average of a field for example. So I can't change the index pattern. I found that might be using Markdown helps in TSVB aggregation, but the solution doesn't work.
{{ avg.v.last.formatted }}
Handlebars.registerHelper('function', function(v) {
return v.toFixed(2);
});