# Percentage of All

**URL:** <https://discuss.elastic.co/t/percentage-of-all/158255>\
**Category:** Kibana\
**Created:** [November 27, 2018, 12:05am UTC](https://discuss.elastic.co/t/percentage-of-all/158255 "2018-11-27T00:05:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vanian/32/16235_2.png) [@vanian](https://discuss.elastic.co/u/vanian)\
**Post date:** [November 27, 2018, 12:05am UTC](https://discuss.elastic.co/t/percentage-of-all/158255/1 "2018-11-27T00:05:55Z")

</div>

Hello,

I'm attempting to create a visualization showing reports based on Days Late (x-axis). For each bar, I'd like to also show a line which represents the percentage of all reports.

This is what I have now:

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7cc7f2397528c57f2339c6cf5342cdee029a37e4.png)

...and this is what I need to add:

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

For example, as of Day 0 about 80% of the reports would have been turned in (this is just an estimate to show how I'd like this to work). I've been experimenting with scripts but haven't quite nailed this down. I'd appreciate any suggestions. Thank you.

---

<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:** [November 28, 2018, 1:56pm UTC](https://discuss.elastic.co/t/percentage-of-all/158255/2 "2018-11-28T13:56:05Z")

</div>

Hey @vanian, you can get very close to what you're looking for using a chart configuration similar to the following. The only thing this leaves to be desired is that the right-axis for the "percentages" show the total sum of the buckets, not the "percentage" directly:

 ![47%20AM](https://us1.discourse-cdn.com/elastic/original/3X/4/f/4f29081a61fd764cff160b35608c02c8654bcc9b.png)  
 ![59%20AM](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c2367ad3b85fa74e61142c5c9535649f6c2d5b6d.png)  
 ![08%20AM](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c62fb01241ad39a6370ee3f94b23406db11b9a15.png)  
 ![34%20AM](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e5fc6d20611c8e76b7ea51e0b72cbe064bd4941b.png)

---

<div class="post-metadata">

**Author:** ![vanian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vanian/32/16235_2.png) [@vanian](https://discuss.elastic.co/u/vanian)\
**Post date:** [November 30, 2018, 6:07pm UTC](https://discuss.elastic.co/t/percentage-of-all/158255/3 "2018-11-30T18:07:51Z")

</div>

Thank you! This is very helpful.

---

<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 28, 2018, 6:08pm UTC](https://discuss.elastic.co/t/percentage-of-all/158255/4 "2018-12-28T18:08:16Z")

</div>

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