# Create TSVB VIZ on Financial Data without any Weekends gap in the viz

**URL:** <https://discuss.elastic.co/t/create-tsvb-viz-on-financial-data-without-any-weekends-gap-in-the-viz/308186>\
**Category:** Kibana\
**Created:** [June 26, 2022, 2:15pm UTC](https://discuss.elastic.co/t/create-tsvb-viz-on-financial-data-without-any-weekends-gap-in-the-viz/308186 "2022-06-26T14:15:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyank\_Mahalle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyank_mahalle/32/91240_2.png) [@Divyank\_Mahalle](https://discuss.elastic.co/u/Divyank_Mahalle)\
**Post date:** [June 26, 2022, 2:15pm UTC](https://discuss.elastic.co/t/create-tsvb-viz-on-financial-data-without-any-weekends-gap-in-the-viz/308186/1 "2022-06-26T14:15:06Z")

</div>

Hi,

I am building TSVB VIZ. I have Daily Historical Financial Data. On Weekends Financial markets are closed.So no data is pushed to the index. Due to which seeing gaps in the in viz. I don't want to see the gaps.

Pls let me know if there is any way to do it.

Current VIZ Snap-

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/8/7801b54b6041501432e9ec2a8b35a0a5ddf50104.png)

---

<div class="post-metadata">

**Author:** ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)\
**Post date:** [June 27, 2022, 12:46pm UTC](https://discuss.elastic.co/t/create-tsvb-viz-on-financial-data-without-any-weekends-gap-in-the-viz/308186/2 "2022-06-27T12:46:44Z")

</div>

We have this on our backlog to work on. I've +1'd the issue on your behalf.

I posted a workaround you could try here -

> [@Hide weekends for date histogram field in time series in graph](https://discuss.elastic.co/t/hide-weekends-for-date-histogram-field-in-time-series-in-graph/305434/2):
>
> this is a workaround at best but could be an interesting option to try. Longer term answer below Use a runtime field to emit the date as a string at the right granularity with the weekend logic. Use "Top Values" and rank by alphabetical ZonedDateTime input = doc['@timestamp'].value; String output = input.format(DateTimeFormatter.ofPattern('yyyy-mm-dd')); emit(output); I have groomed the existing request for this and added a quote / screenshot from this discussion for th…

---

<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:** [July 25, 2022, 12:46pm UTC](https://discuss.elastic.co/t/create-tsvb-viz-on-financial-data-without-any-weekends-gap-in-the-viz/308186/3 "2022-07-25T12:46:57Z")

</div>

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