# Is there a "Top N" filter that can be applied to dashboards?

**URL:** https://discuss.elastic.co/t/is-there-a-top-n-filter-that-can-be-applied-to-dashboards/265400
**Category:** Kibana
**Created:** [February 24, 2021, 7:20pm UTC](https://discuss.elastic.co/t/is-there-a-top-n-filter-that-can-be-applied-to-dashboards/265400 "2021-02-24T19:20:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cealliance](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cealliance/32/84503_2.png) [@cealliance](https://discuss.elastic.co/u/cealliance)
#### Post date: [February 24, 2021, 7:20pm UTC](https://discuss.elastic.co/t/is-there-a-top-n-filter-that-can-be-applied-to-dashboards/265400/1 "2021-02-24T19:20:46Z")

</div>

I would like to filter a dashboard so that a user supplied number of results populate. Is this at all possible?

The end use case is to apply a filter such as, "Only return the top 10 altitudes" (only 10 individual documents), somewhat similar to the aggregations available in visualizations.

---

<div class="post-metadata">

### Author: ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)
#### Post date: [February 25, 2021, 4:55am UTC](https://discuss.elastic.co/t/is-there-a-top-n-filter-that-can-be-applied-to-dashboards/265400/2 "2021-02-25T04:55:51Z")

</div>

What do you mean by "top"? What is the logic?  
e.g. the largest altitudes?

---

<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: [March 25, 2021, 4:56am UTC](https://discuss.elastic.co/t/is-there-a-top-n-filter-that-can-be-applied-to-dashboards/265400/3 "2021-03-25T04:56:45Z")

</div>

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