# Can I create a visualization using a list of specific values for a field?

**URL:** https://discuss.elastic.co/t/can-i-create-a-visualization-using-a-list-of-specific-values-for-a-field/95898
**Category:** Kibana
**Created:** [August 4, 2017, 2:26pm UTC](https://discuss.elastic.co/t/can-i-create-a-visualization-using-a-list-of-specific-values-for-a-field/95898 "2017-08-04T14:26:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JoeyMarinello](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@JoeyMarinello](https://discuss.elastic.co/u/JoeyMarinello)
#### Post date: [August 4, 2017, 2:26pm UTC](https://discuss.elastic.co/t/can-i-create-a-visualization-using-a-list-of-specific-values-for-a-field/95898/1 "2017-08-04T14:26:33Z")

</div>

Hi all,

I have a subset of ID's (700 out of 4000 users) that I am trying to return. Is there a way I can make a data table visualization using specific values for a field instead of all of them?

Thank you for your time.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [August 4, 2017, 7:42pm UTC](https://discuss.elastic.co/t/can-i-create-a-visualization-using-a-list-of-specific-values-for-a-field/95898/2 "2017-08-04T19:42:48Z")

</div>

Hi,

You can use filter aggregation to do this.  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html)

[https://www.elastic.co/guide/en/kibana/current/data-table.html](https://www.elastic.co/guide/en/kibana/current/data-table.html)

```auto
Filters
You can specify a set of filters for the data. You can specify a filter as a query string or in JSON format, just as in the Discover search bar. Click Add Filter to add another filter. Click the images/labelbutton.png label button to open the label field, where you can type in a name to display on the visualization.

```

Thanks,  
Bhavya

---

<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: [September 1, 2017, 7:42pm UTC](https://discuss.elastic.co/t/can-i-create-a-visualization-using-a-list-of-specific-values-for-a-field/95898/3 "2017-09-01T19:42:50Z")

</div>

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