# Get the repeated count of users

**URL:** <https://discuss.elastic.co/t/get-the-repeated-count-of-users/185845>\
**Category:** Kibana\
**Created:** [June 14, 2019, 11:42am UTC](https://discuss.elastic.co/t/get-the-repeated-count-of-users/185845 "2019-06-14T11:42:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajrupal9](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@rajrupal9](https://discuss.elastic.co/u/rajrupal9)\
**Post date:** [June 14, 2019, 11:42am UTC](https://discuss.elastic.co/t/get-the-repeated-count-of-users/185845/1 "2019-06-14T11:42:36Z")

</div>

Hi,

I am trying to get the "revisited users in a span of 7 days". I have a session table in dynamo DB which has the userId field. I need to get the total count of userIds which are repeated. I tried in Visual Builder and 42 Metric with JSON input {"min\_doc\_count":2}, but couldn't get the unique count of users which are duplicate. Is there any direct filter which can give me the required result in Kibana visualization?  
Please help me.

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [June 18, 2019, 6:50pm UTC](https://discuss.elastic.co/t/get-the-repeated-count-of-users/185845/2 "2019-06-18T18:50:38Z")

</div>

Hi Rupal, could you please show me what the shape of your documents are in Elasticsearch? I don't have any experience with Dynamo DB and it's not one of our products.

Could you please also describe in more detail exactly what you're doing in Visual Builder? Screenshots will help.

Lastly, could you also please describe what it is you're trying to accomplish, using the above information as a reference? For example, "I want a visualization that shows you a single number, which represents the number of userIds which occur more than once within a data sample."

---

<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 16, 2019, 6:50pm UTC](https://discuss.elastic.co/t/get-the-repeated-count-of-users/185845/3 "2019-07-16T18:50:40Z")

</div>

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