# TSVB two Counts division

**URL:** <https://discuss.elastic.co/t/tsvb-two-counts-division/282331>\
**Category:** Kibana\
**Created:** [August 24, 2021, 10:17am UTC](https://discuss.elastic.co/t/tsvb-two-counts-division/282331 "2021-08-24T10:17:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Yu](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Aaron\_Yu](https://discuss.elastic.co/u/Aaron_Yu)\
**Post date:** [August 24, 2021, 10:17am UTC](https://discuss.elastic.co/t/tsvb-two-counts-division/282331/1 "2021-08-24T10:17:53Z")

</div>

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

Can you help me?  
How can I draw the line that count2/count1 in this TSVB?

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [September 7, 2021, 8:55am UTC](https://discuss.elastic.co/t/tsvb-two-counts-division/282331/2 "2021-09-07T08:55:52Z")

</div>

Hi @Aaron_Yu,  
Welcome to the community!  
If you're using the newest version of the Kibana (7.14), I'd recommend you to take a look at lens. It's very easy to achieve this result with the new formula feature.

 ![Screenshot 2021-09-07 at 10.54.29](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef1286503e786c8b7c9eae6d4382ddce7d05a5a7.png)

But if you want to (or have to) stick to TSVB, use filter ratio:

 ![Screenshot 2021-09-07 at 10.55.13](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d30b22cb8bcbe2539a858c4f86b4a1131f5d702.png)

---

<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:** [October 5, 2021, 8:56am UTC](https://discuss.elastic.co/t/tsvb-two-counts-division/282331/3 "2021-10-05T08:56:06Z")

</div>

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