# Group by count

**URL:** <https://discuss.elastic.co/t/group-by-count/80835>\
**Category:** Kibana\
**Created:** [March 31, 2017, 3:19pm UTC](https://discuss.elastic.co/t/group-by-count/80835 "2017-03-31T15:19:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aamanati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aamanati/32/16956_2.png) [@aamanati](https://discuss.elastic.co/u/aamanati)\
**Post date:** [March 31, 2017, 3:19pm UTC](https://discuss.elastic.co/t/group-by-count/80835/1 "2017-03-31T15:19:21Z")

</div>

Hi,  
I wanna create a visualization where I group users in ranges [1 to 10] [10 to 20] etc depending on how many times they visited a specific page. For example:  
10 users visited the page between [1 to 10] times  
5 users visited the page between [10 to 20] times

At the moment I have a visualization with count of visits per user\_id but how do I add ranges for the count?

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [March 31, 2017, 7:09pm UTC](https://discuss.elastic.co/t/group-by-count/80835/2 "2017-03-31T19:09:16Z")

</div>

There isn't a way to accomplish this in Kibana currently. Is the nature of your use case one where the data that you're indexing can already by grouped by user with counts of visits per page?

---

<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:** [April 28, 2017, 7:09pm UTC](https://discuss.elastic.co/t/group-by-count/80835/3 "2017-04-28T19:09:38Z")

</div>

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