# Time Series Visual Builder calculate $ Growth Month over Month

**URL:** <https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169>\
**Category:** Kibana\
**Created:** [June 28, 2017, 6:18pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169 "2017-06-28T18:18:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [June 28, 2017, 6:18pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169/1 "2017-06-28T18:18:49Z")

</div>

I was able to get my 2 labels working one that shows Monthly Revenue and one that shows last years monthly revenue both showing on the left Axis.  
On the right I want to show the difference between last year and this year month to month. Basically a difference between the 1st 2 labels.

What Metric combination on my 3rd Growth label do I use to get that value. So I can show it on the right axis?

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [June 29, 2017, 4:57pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169/2 "2017-06-29T16:57:19Z")

</div>

Unfortunately you can't do a calculation between two series (because they are independent queries) using TSVB. That's something you would need to do in Timelion.

---

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [July 5, 2017, 3:05pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169/3 "2017-07-05T15:05:48Z")

</div>

I know Timelion has this ability because that is where I have this working. But Timelion has an outstanding bug that got introduced in 5.x which is preventing me from using Timelion so I am creating all my Timelion Visuals over again using TSVB  
Link to outstanding Timelion issue when added to Dashboards.

> <https://github.com/elastic/kibana/issues/11453>

---

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [July 17, 2017, 3:23pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169/4 "2017-07-17T15:23:45Z")

</div>

Any projections on when this bug above will be fixed in Timelion? Since TSVB doesn't support Multiple Indices for calculations and Timelion has this bug that was introduced in 5.X. I am pretty much stuck with no solution.

---

<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:** [August 14, 2017, 3:23pm UTC](https://discuss.elastic.co/t/time-series-visual-builder-calculate-growth-month-over-month/91169/5 "2017-08-14T15:23:49Z")

</div>

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