# \[6.8\] How to add range to a percentage visualization

**URL:** https://discuss.elastic.co/t/6-8-how-to-add-range-to-a-percentage-visualization/207110
**Category:** Kibana
**Created:** [November 8, 2019, 12:26pm UTC](https://discuss.elastic.co/t/6-8-how-to-add-range-to-a-percentage-visualization/207110 "2019-11-08T12:26:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SheetalRIL](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SheetalRIL](https://discuss.elastic.co/u/SheetalRIL)
#### Post date: [November 8, 2019, 12:26pm UTC](https://discuss.elastic.co/t/6-8-how-to-add-range-to-a-percentage-visualization/207110/1 "2019-11-08T12:26:39Z")

</div>

This screenshot shows the error percentages of Applications 1-6 respectively. The error percentage is calculated in this visualization by using an average function per application of all the errors. this is done by associating every error query with 1 and every non error query with 0.

After this we want to use a range function on these percentages to divide them into different groups say one less than 0.5 one greater than 0.5.

 ![Screenshot%20(19)](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6eb53516297212a062dd535a0f566689180424e1.png)

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [November 18, 2019, 7:31pm UTC](https://discuss.elastic.co/t/6-8-how-to-add-range-to-a-percentage-visualization/207110/2 "2019-11-18T19:31:45Z")

</div>

I don't think this is possible right now in Kibana, but i'll leave this open in case someone else has some insights on it.  
PS: I know it's a bit more difficult, but you can look into rolling up the data with the avg aggregation and then doing another chart with a range aggregation on that rolled up data.

---

<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: [December 16, 2019, 7:31pm UTC](https://discuss.elastic.co/t/6-8-how-to-add-range-to-a-percentage-visualization/207110/3 "2019-12-16T19:31:47Z")

</div>

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