# Show only duplicate documents data table

**URL:** <https://discuss.elastic.co/t/show-only-duplicate-documents-data-table/300328>\
**Category:** Kibana\
**Created:** [March 22, 2022, 11:19am UTC](https://discuss.elastic.co/t/show-only-duplicate-documents-data-table/300328 "2022-03-22T11:19:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [March 22, 2022, 11:19am UTC](https://discuss.elastic.co/t/show-only-duplicate-documents-data-table/300328/1 "2022-03-22T11:19:01Z")

</div>

Hi all,

I'm trying to show only duplicate data table for a set of documents.  
So I want to show count of records \> 1.

But I can't filter to show metric as count \> 1.

How to show only duplicates data table with fields?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [March 23, 2022, 4:05pm UTC](https://discuss.elastic.co/t/show-only-duplicate-documents-data-table/300328/2 "2022-03-23T16:05:07Z")

</div>

You can do that with the [aggregated based table](https://www.elastic.co/guide/en/kibana/current/add-aggregation-based-visualization-panels.html)

![Peek 2022-03-23 17-02](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9cd2681a748a8e94b128fd4a71f7dcb19b8fef81.gif)

Once you have your table by the field you want to count, you can remove the non duplicates from the table adding this to the `JSON Input` box:

```auto
{"min_doc_count": 2}

```

Unfortunately this is not yet supported by Lens so you need to rely in the old visualization type.

---

<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 20, 2022, 4:05pm UTC](https://discuss.elastic.co/t/show-only-duplicate-documents-data-table/300328/3 "2022-04-20T16:05:29Z")

</div>

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