# Pie chart in kibana

**URL:** <https://discuss.elastic.co/t/pie-chart-in-kibana/195945>\
**Category:** Kibana\
**Created:** [August 20, 2019, 1:32pm UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945 "2019-08-20T13:32:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oussame\_Ahmedou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oussame_ahmedou/32/52623_2.png) [@Oussame\_Ahmedou](https://discuss.elastic.co/u/Oussame_Ahmedou)\
**Post date:** [August 20, 2019, 1:32pm UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945/1 "2019-08-20T13:32:09Z")

</div>

Hello I want to create pie chart in kibana  
I have a sums=2 and failed=1 success=1 so failed prensent 50% and Suceess 50%  
 ![piee](https://us1.discourse-cdn.com/elastic/original/3X/4/6/4610fb85824aab467067b5acef295e8a56a4c113.png) "sucess"(50%)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [August 20, 2019, 6:02pm UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945/2 "2019-08-20T18:02:45Z")

</div>

Hey @Oussame_Ahmedou, you can do this using the "Pie Chart" Visualization using a configuration similar to the following:

 ![35%20AM](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b47f1237bb759cd6ffc13778757abc9b0b7e2b2.png)

---

<div class="post-metadata">

**Author:** ![Oussame\_Ahmedou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oussame_ahmedou/32/52623_2.png) [@Oussame\_Ahmedou](https://discuss.elastic.co/u/Oussame_Ahmedou)\
**Post date:** [August 21, 2019, 9:39am UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945/3 "2019-08-21T09:39:39Z")

</div>

that don't work I have the sum of all Test case among which are failed and success  
I want the poucentage of success and failed

 ![pchart_pie](https://us1.discourse-cdn.com/elastic/original/3X/b/9/b921eafbc5cda175795eec349ab32ddbf60e73fd.png)

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [August 21, 2019, 3:47pm UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945/4 "2019-08-21T15:47:40Z")

</div>

It looks like you're using the "Sum of NumberOfTestCases" in your Metrics, which should give you what you're looking for. Would you please elaborate upon the issue you're experiencing?

---

<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:** [September 18, 2019, 3:47pm UTC](https://discuss.elastic.co/t/pie-chart-in-kibana/195945/5 "2019-09-18T15:47:43Z")

</div>

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