# Condition Filter on Graph to show only value \> 20

**URL:** <https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897>\
**Category:** Kibana\
**Created:** [September 8, 2017, 8:33pm UTC](https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897 "2017-09-08T20:33:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cp\_el](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cp\_el](https://discuss.elastic.co/u/cp_el)\
**Post date:** [September 8, 2017, 8:33pm UTC](https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897/1 "2017-09-08T20:33:17Z")

</div>

I was trying to generate graph but having some data points as 0 or very low. So as shown in graph I want to apply filter for value \> 20. So I will get those points only on X axis which has values \>20.  
Is there any way on Kibana we can apply condition filter?

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

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [September 9, 2017, 6:30am UTC](https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897/2 "2017-09-09T06:30:58Z")

</div>

When using a histogram the x-axis will always use a standard number line; the distance between 1 and 100 will always be the same as the distance between 1000 and 1100. Perhaps you want to try using the terms aggregation instead?

---

<div class="post-metadata">

**Author:** ![cp\_el](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cp\_el](https://discuss.elastic.co/u/cp_el)\
**Post date:** [September 11, 2017, 2:47pm UTC](https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897/3 "2017-09-11T14:47:58Z")

</div>

I'm don't want to do any aggregation here separately. Basically I just want to see the bar charts which has count \>20. If it's \<20 then I don't want to see that on chart. So, basically here I want 10 records which has count \>20 for bar chart. This type of filter I'm taking about.

---

<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:** [October 9, 2017, 2:48pm UTC](https://discuss.elastic.co/t/condition-filter-on-graph-to-show-only-value-20/99897/4 "2017-10-09T14:48:00Z")

</div>

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