# Problem Dividing Metrics in TVSB

**URL:** https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277
**Category:** Kibana
**Created:** [February 25, 2022, 12:24pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277 "2022-02-25T12:24:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![\_PA](https://avatars.discourse-cdn.com/v4/letter/_/90ced4/32.png) [@\_PA](https://discuss.elastic.co/u/_PA)
#### Post date: [February 25, 2022, 12:24pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/1 "2022-02-25T12:24:49Z")

</div>

Hi,

I am recent to Kibana and I am having issues displaying a metric which is the result of a division of two fields. I am trying to do this in TVSB and this is the current setup I have:

 ![doubt_kibana](https://us1.discourse-cdn.com/elastic/original/3X/6/8/6897f5fb1daf3768f865b4df39be0d1db084c11a.png)

I know the count of device\_id is around 187k and the count of household\_id is around 167k. So I expect the metric to show 1,2 but at the time it says " No results found". What am I doing wrong?

Thank you.

---

<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: [February 25, 2022, 3:41pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/2 "2022-02-25T15:41:19Z")

</div>

This might be a bit easier to do in Lens with a custom formula -

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/d/fd33e674a5a1d08edbbf9a422791b91d3c93d127.png)

---

<div class="post-metadata">

### Author: ![\_PA](https://avatars.discourse-cdn.com/v4/letter/_/90ced4/32.png) [@\_PA](https://discuss.elastic.co/u/_PA)
#### Post date: [February 25, 2022, 3:49pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/3 "2022-02-25T15:49:44Z")

</div>

Sorry but how do I add a custom formula in an axis in Lens?  
I do not think I have that menu. I have these options for the vertical axis.  
 ![Captura de ecrã 2022-02-25 155553](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6ffaa0b52e9f925932ba2ad55df01c8e95d66346.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: [February 25, 2022, 3:58pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/4 "2022-02-25T15:58:32Z")

</div>

ah, this was added at version 7.14. Are you able to upgrade?

---

<div class="post-metadata">

### Author: ![\_PA](https://avatars.discourse-cdn.com/v4/letter/_/90ced4/32.png) [@\_PA](https://discuss.elastic.co/u/_PA)
#### Post date: [February 25, 2022, 4:00pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/5 "2022-02-25T16:00:17Z")

</div>

I have an enterprise edition. I cannot upgrade from the version I have at the moment. Is this still doable?

---

<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: [March 25, 2022, 4:00pm UTC](https://discuss.elastic.co/t/problem-dividing-metrics-in-tvsb/298277/6 "2022-03-25T16:00:50Z")

</div>

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