# Bar Chart Question

**URL:** <https://discuss.elastic.co/t/bar-chart-question/52123>\
**Category:** Kibana\
**Created:** [June 7, 2016, 8:50pm UTC](https://discuss.elastic.co/t/bar-chart-question/52123 "2016-06-07T20:50:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjczarnota](https://avatars.discourse-cdn.com/v4/letter/p/e9bcb4/32.png) [@pjczarnota](https://discuss.elastic.co/u/pjczarnota)\
**Post date:** [June 7, 2016, 8:50pm UTC](https://discuss.elastic.co/t/bar-chart-question/52123/1 "2016-06-07T20:50:55Z")

</div>

Hello,

I want to create a bar chart which allows me to see how many records have a term which is and is not null. Is there a way to do this?

For example, lets say I have 10 records and 5 of them have a null for the Name field and 5 of them have various names. I want the bar chart to show 50% are null and 50% are not null.

Thank you,  
Philip

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [June 7, 2016, 9:42pm UTC](https://discuss.elastic.co/t/bar-chart-question/52123/2 "2016-06-07T21:42:58Z")

</div>

You can use the Filters aggregation as shown in this screenshot:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9ea39a0902a9e1854955a20e5bfa0bb8cd11502e.png)

---

<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:51pm UTC](https://discuss.elastic.co/t/bar-chart-question/52123/3 "2017-07-06T13:51:14Z")

</div>


