# Dashboards: filter for each query?

**URL:** <https://discuss.elastic.co/t/dashboards-filter-for-each-query/33836>\
**Category:** Kibana\
**Created:** [November 5, 2015, 8:01am UTC](https://discuss.elastic.co/t/dashboards-filter-for-each-query/33836 "2015-11-05T08:01:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelHallmann](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MarcelHallmann](https://discuss.elastic.co/u/MarcelHallmann)\
**Post date:** [November 5, 2015, 8:01am UTC](https://discuss.elastic.co/t/dashboards-filter-for-each-query/33836/1 "2015-11-05T08:01:07Z")

</div>

Hi,

in my .json Dashboard (Kibana 3) I have a query defined:

```
"services": {
        "query": {
            "list": {
                "0": {
                    "query": "*",
                    "alias": "SYSTEM",
                    "color": "#7EB26D",
                    "id": 0,
                    "pin": false,
                    "type": "lucene",
                    "enable": true
                }
            },
            "ids": [
                0
            ]
        }

```

Now I want to display the results in two tables - depending on filters, e.g. status = OK and status != OK.  
How can I solve that? Is there any possibility to add a filter only for one panel / table?  
Or would having two queries be the way to go?

When I define filters in the filter section like

```
"filter": {
            "list": {
                "0": {
                    "type": "field",
                    "field": "_type",
                    "query": "TODO",
                    "mandate": "must",
                    "active": true,
                    "alias": "",
                    "id": 0
                },

```

all tables on the dashboard are filtered.

regards

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [November 7, 2015, 8:21pm UTC](https://discuss.elastic.co/t/dashboards-filter-for-each-query/33836/2 "2015-11-07T20:21:32Z")

</div>

I think you'll have to go with two queries, as in Kibana 3 queries can be selectively applied to each panel, while filters apply to the whole dashboard.

---

<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 6, 2017, 2:09pm UTC](https://discuss.elastic.co/t/dashboards-filter-for-each-query/33836/3 "2017-07-06T14:09:37Z")

</div>


