# Controls showing incorrect document count

**URL:** <https://discuss.elastic.co/t/controls-showing-incorrect-document-count/339477>\
**Category:** Kibana\
**Created:** [July 27, 2023, 7:10pm UTC](https://discuss.elastic.co/t/controls-showing-incorrect-document-count/339477 "2023-07-27T19:10:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Salah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_salah/32/123992_2.png) [@Matthew\_Salah](https://discuss.elastic.co/u/Matthew_Salah)\
**Post date:** [July 27, 2023, 7:10pm UTC](https://discuss.elastic.co/t/controls-showing-incorrect-document-count/339477/1 "2023-07-27T19:10:36Z")

</div>

I have a map on a Kibana dashboard and a series of controls. The controls have a count of documents associated with the filter value.

However, the counts there don't line up with my global count of documents (see upper right hand widget in the dashboard). For instance, the 'sectors' control says there are 44,700 documents that have the value 'mining'. But when I click that filter, the map shows 205,416 points.

Is this an issue with how the controls count the documents? Does it size out after a certain number? Is there a way to not display the (incorrect) document count in the controls dropdown?

 ![Screenshot 2023-07-27 at 3.04.36 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/e/aec57bc4191371368ad363ddbe8af5ca9749790b.jpeg)

---

<div class="post-metadata">

**Author:** ![Matthew\_Salah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_salah/32/123992_2.png) [@Matthew\_Salah](https://discuss.elastic.co/u/Matthew_Salah)\
**Post date:** [July 27, 2023, 7:11pm UTC](https://discuss.elastic.co/t/controls-showing-incorrect-document-count/339477/2 "2023-07-27T19:11:59Z")

</div>

By the way, both the controls and the "projects" count in the upper right point to the same index.

---

<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:** [August 24, 2023, 7:12pm UTC](https://discuss.elastic.co/t/controls-showing-incorrect-document-count/339477/3 "2023-08-24T19:12:32Z")

</div>

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