I want to add some Handlebar helpers like below. So that i can use it in TSVB Markdown. I need to use it for calculate difference between the two count values. @tsullivan@devon.thomson@bhavyarm Help required.
Handlebars.registerHelper('difference', function (val1, val2) {
return val1-val2;
})
It's not possible to add custom helpers to markdown. However, to calculate a difference you should be able to use the "math" aggregation in the data tab
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.