# Are Ranges Inclusive?

**URL:** <https://discuss.elastic.co/t/are-ranges-inclusive/27269>\
**Category:** Kibana\
**Created:** [August 12, 2015, 3:21pm UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269 "2015-08-12T15:21:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LansK](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@LansK](https://discuss.elastic.co/u/LansK)\
**Post date:** [August 12, 2015, 3:21pm UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269/1 "2015-08-12T15:21:24Z")

</div>

Are ranges (such as in a pie chart) inclusive? In the Kibana tutorial ([https://www.elastic.co/guide/en/kibana/4.1/tutorial-visualizing.html](https://www.elastic.co/guide/en/kibana/4.1/tutorial-visualizing.html)), ranges are specified between 1000 and 3000, and 3000 and 7000. Are both ranges counting values that might be 3000 exactly? Or are both ranges discounting it? If I only want my data to fall into one range, should I do 1000 to 3000, and then 3001 to 7000, and then 7001 to 10000, etc?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 12, 2015, 10:53pm UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269/2 "2015-08-12T22:53:56Z")

</div>

You'll want to do the latter, as the former is inclusive.

---

<div class="post-metadata">

**Author:** ![LansK](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@LansK](https://discuss.elastic.co/u/LansK)\
**Post date:** [August 13, 2015, 5:22am UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269/3 "2015-08-13T05:22:19Z")

</div>

That's the behavior I expected, but since the tutorial suggested it for a pie chart, I became a bit unsure of how Kibana treated ranges in this instance. Thank you for clarifying.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 13, 2015, 5:43am UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269/4 "2015-08-13T05:43:43Z")

</div>

Thanks for pointing that out, I have raised an issue to get it fixed 😄

> <https://github.com/elastic/kibana/issues/4659>

---

<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, 2:14pm UTC](https://discuss.elastic.co/t/are-ranges-inclusive/27269/5 "2017-07-06T14:14:52Z")

</div>

Closed on July 6, 2017, 2:14pm UTC


