# TSVB markdown Dates

**URL:** <https://discuss.elastic.co/t/tsvb-markdown-dates/215916>\
**Category:** Kibana\
**Created:** [January 21, 2020, 4:27pm UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916 "2020-01-21T16:27:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mack\_rogers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mack_rogers/32/53224_2.png) [@Mack\_rogers](https://discuss.elastic.co/u/Mack_rogers)\
**Post date:** [January 21, 2020, 4:27pm UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916/1 "2020-01-21T16:27:02Z")

</div>

Has anyone solved rendering dates in TSVB visualization? ( Time Series Visual Builder) Any field that was inputted as type: "date" with multiple random dates values. I only want 1 date shown just like the text field "id" is shown.  
@Elvis_Saravia @Alex_Piggott

 ![markdown problem](https://us1.discourse-cdn.com/elastic/original/3X/6/5/658c937697d5fd5d83dd699c852cbe6ab5783465.png)

 ![markdown2](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e4b3846da7c7ca5984bc5501c60abde35193795.png)

---

<div class="post-metadata">

**Author:** ![Elvis\_Saravia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elvis_saravia/32/45624_2.png) [@Elvis\_Saravia](https://discuss.elastic.co/u/Elvis_Saravia)\
**Post date:** [January 23, 2020, 2:27pm UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916/2 "2020-01-23T14:27:45Z")

</div>

Hi @Mack_rogers,

As far as I understand the results you are working with, the output is expected since it is all the values of an array you are trying to display. You want "1 date shown just like the text field "id" is shown". What value were you thinking to display here?

---

<div class="post-metadata">

**Author:** ![Mack\_rogers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mack_rogers/32/53224_2.png) [@Mack\_rogers](https://discuss.elastic.co/u/Mack_rogers)\
**Post date:** [January 23, 2020, 4:49pm UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916/3 "2020-01-23T16:49:58Z")

</div>

@Elvis_Saravia You are correct that I am accessing the whole TREE/ARRAY using {{each \_all} but within the tab "Data" look at each panel and the input field labeled "Top" ( correct me if I am wrong) this is where you set the size of your results.

So in the case of string fields, this will render 1 result of the TREE/ARRAY, but when you do it with DATES it renders the whole TREE. I want the same result that I receive with string fields. 1. If I increased the TOP field more results of the TREE/ARRAY will render the specified input.

TSVB also messes up with you add more than 4-5 fields it starts to reorder your code no matter if your code and panels read 1,2,3,4 (blocks of code or panels written in sequential order ) once you get to 5 or more... its reorders to 5,1,2,3,4 or worst.

Also, Boolean fields - TRUE or False render as 0's?

---

<div class="post-metadata">

**Author:** ![Elvis\_Saravia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elvis_saravia/32/45624_2.png) [@Elvis\_Saravia](https://discuss.elastic.co/u/Elvis_Saravia)\
**Post date:** [January 24, 2020, 8:15am UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916/4 "2020-01-24T08:15:42Z")

</div>

You are right, @Mack_rogers! It should be looking at the last bucket and return the corresponding date for that bucket... but instead, it sends back the entire tree. I am testing a bit more but in the meantime I would encourage you to open an issue for this because there seems to be a couple of issues as you have identified.

> **[Build software better, together](https://github.com/elastic/kibana/issues/new/choose)**
>
> GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 21, 2020, 8:15am UTC](https://discuss.elastic.co/t/tsvb-markdown-dates/215916/5 "2020-02-21T08:15:42Z")

</div>

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