# How to show two value percentages on one gauge?

**URL:** https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844
**Category:** Kibana
**Created:** [September 26, 2023, 8:15am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844 "2023-09-26T08:15:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![andrewarnier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewarnier/32/122260_2.png) [@andrewarnier](https://discuss.elastic.co/u/andrewarnier)
#### Post date: [September 26, 2023, 8:15am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844/1 "2023-09-26T08:15:43Z")

</div>

hi all ,  
I have a column in data which two values are Human and Bot, how i can calculate percentage and show in one gauge. for example 7 documents are Human and total documents are 1000 from 1/1 to 2/15 ,then Human percentage is 7% and Bot is 93%, like as below image,  
 ![圖片](https://us1.discourse-cdn.com/elastic/original/3X/f/f/ffe0f3f4d5074fa80e70675a433a3428665f62d5.png)

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [September 26, 2023, 9:13am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844/2 "2023-09-26T09:13:18Z")

</div>

Hi @andrewarnier

If there are only 2/few categories, have you tried with a treemap?

 ![Screenshot 2023-09-26 at 11.12.44](https://us1.discourse-cdn.com/elastic/original/3X/8/5/85048ed92fdf0cb8950d3dc68c5ff960987d34e3.png)

---

<div class="post-metadata">

### Author: ![andrewarnier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewarnier/32/122260_2.png) [@andrewarnier](https://discuss.elastic.co/u/andrewarnier)
#### Post date: [September 28, 2023, 2:55am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844/3 "2023-09-28T02:55:34Z")

</div>

is it possible to use gauge to display?

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [September 28, 2023, 7:24am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844/4 "2023-09-28T07:24:33Z")

</div>

A gauge is usually used to display a single metric.

Partition charts like pie chart, donut chart, treemap, etc... are usually used to display how the whole is split by different categories - like in your case.

---

<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 26, 2023, 7:24am UTC](https://discuss.elastic.co/t/how-to-show-two-value-percentages-on-one-gauge/343844/5 "2023-10-26T07:24:35Z")

</div>

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