# Please Help =\> Kibana Pie Chart , I got A / (A + B), How to get A / B?

**URL:** <https://discuss.elastic.co/t/please-help-kibana-pie-chart-i-got-a-a-b-how-to-get-a-b/62927>\
**Category:** Kibana\
**Created:** [October 13, 2016, 10:51am UTC](https://discuss.elastic.co/t/please-help-kibana-pie-chart-i-got-a-a-b-how-to-get-a-b/62927 "2016-10-13T10:51:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liu\_Lantern](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@Liu\_Lantern](https://discuss.elastic.co/u/Liu_Lantern)\
**Post date:** [October 13, 2016, 10:51am UTC](https://discuss.elastic.co/t/please-help-kibana-pie-chart-i-got-a-a-b-how-to-get-a-b/62927/1 "2016-10-13T10:51:49Z")

</div>

1. Hi , As what you see in the pie chart below:

> ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7c435e526515e37534c5a73256164823f4843102.jpg)

1. the red pencentage part is 1 % (the count of this part is 2), and the grass green part is 99.33%( the count of this part is 198)
2. So the red -\>1% is got by A /(A +B) =\> 2 / (2+1988) , The grass green -\> 99% is got by B / (A +B) =\> 198 / (2+198)
3. My problem is how to change the red part =\> A/B , the grass green =\> 1- (A/B) ????

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [October 13, 2016, 10:24pm UTC](https://discuss.elastic.co/t/please-help-kibana-pie-chart-i-got-a-a-b-how-to-get-a-b/62927/2 "2016-10-13T22:24:40Z")

</div>

There's no way to do this with pie charts, they're simply a way to visualize the breakdown of your data by percentage.

It would be helpful to know what it is you are trying to visualize, as there may be another way to see it.

---

<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 6, 2017, 1:36pm UTC](https://discuss.elastic.co/t/please-help-kibana-pie-chart-i-got-a-a-b-how-to-get-a-b/62927/3 "2017-07-06T13:36:41Z")

</div>


