How to create dynamic title in Markdown with Handlebars(mustache)?

I wonder if there any way to create dynamic title in the TVSB visualization using Markdown and Handlebars. This visualization is a part of the dashboard. Whenever I filter particular field: title.keyword is ... this title should appear in the visuzalization. I want to automate the process.

I would highly appreciate your help !

I can't find a way to do that in TSVB unfortunately. You can achieve something if you know that particular field by configuring a groupBy aggregation (top 1) and use a markdown like:

Title: {{#each _all}}{{label}}{{/each}}

This works until you have at least one filter enabled, but when your filter is disabled/removed then this will just show the top most label.
There is no way to get the count of returned groups to display something else instead.

You can try with Vega a similar approach, I'm pretty sure you can get the same information but you can certainly do more math than the one available in TSVB markdown

Thank you so much.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.