# Maps / Apply global filter to main vector layer and/or joined source only

**URL:** <https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247>\
**Category:** Kibana\
**Created:** [August 22, 2019, 6:38am UTC](https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247 "2019-08-22T06:38:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxprunayre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fxprunayre/32/22478_2.png) [@fxprunayre](https://discuss.elastic.co/u/fxprunayre)\
**Post date:** [August 22, 2019, 6:38am UTC](https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247/1 "2019-08-22T06:38:04Z")

</div>

Hi,

Would it make sense to add an option to decide if the global filter has to be applied to the vector layer and/or the join layer only?

In a number of situation, the vector layer may be a background map (eg. admin boundaries) that user will join with other sources to render thematic maps. But when you enable "apply global filter to layer" then the filter is applied to both the background layer and the joined one.

When building dashboard embedding the map, then control and other viz will focus on the joined layer usually and the global filter should not be applied to main vector layer (which will return no features, and map will be empty)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a89274a31c24de691a671ec91e47d9789dceed25.png)

What do you think ?

Francois

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [August 22, 2019, 5:57pm UTC](https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247/2 "2019-08-22T17:57:46Z")

</div>

Hi @fxprunayre. I think this makes sense.

Can you open a Feature request for this on the Kibana GitHub repository? We can discuss it further on there. [https://github.com/elastic/kibana/issues/new/choose](https://github.com/elastic/kibana/issues/new/choose)

---

<div class="post-metadata">

**Author:** ![fxprunayre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fxprunayre/32/22478_2.png) [@fxprunayre](https://discuss.elastic.co/u/fxprunayre)\
**Post date:** [August 23, 2019, 8:23am UTC](https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247/3 "2019-08-23T08:23:04Z")

</div>

Done here [https://github.com/elastic/kibana/issues/43849](https://github.com/elastic/kibana/issues/43849) @nickpeihl.

---

<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 20, 2019, 8:23am UTC](https://discuss.elastic.co/t/maps-apply-global-filter-to-main-vector-layer-and-or-joined-source-only/196247/4 "2019-09-20T08:23:13Z")

</div>

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