# "is one of" filter when filtering on tooltip Map

**URL:** https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617
**Category:** Kibana
**Tags:** maps
**Created:** [January 9, 2021, 5:47pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617 "2021-01-09T17:47:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ErikvdVen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/erikvdven/32/24602_2.png) [@ErikvdVen](https://discuss.elastic.co/u/ErikvdVen)
#### Post date: [January 9, 2021, 5:47pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/1 "2021-01-09T17:47:04Z")

</div>

I have a dashboard, containing a Map visualization. I can add different "tooltip fields", so I could set a filter for example, but this only contains a "is" filter. Can I set a "is one of" filter as well?

Example of such map:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/5/55a989e5e41001e145561743a03eb121a9f690a3.jpeg)

My personal map contains (merged) documents from one index, and by clicking on a dot on the map I would like the option to filter on a field which contains all id's of the original documents from another index. This way another table could be filtered on a set of specific document id's.

As far as I see, I can only add textual, boolean or numeric data as tooltip, so it seems. Is there any way of adding a field to a document, so I can set it as a Tooltip field AND filter on it, but not using the "IS" filter but the "IS ONE OF" filter?

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [January 11, 2021, 1:00pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/2 "2021-01-11T13:00:55Z")

</div>

> My personal map contains (merged) documents from one index, and by clicking on a dot on the map I would like the option to filter on a field which contains all id's of the original documents from another index.

How are the ids stored in the field? Is it an array of strings?

---

<div class="post-metadata">

### Author: ![ErikvdVen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/erikvdven/32/24602_2.png) [@ErikvdVen](https://discuss.elastic.co/u/ErikvdVen)
#### Post date: [January 11, 2021, 2:56pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/3 "2021-01-11T14:56:01Z")

</div>

At the moment my data contains an array of values, but I cannot choose this key as a tooltip value so I can use the filter option. I can update the field to a string, seperated by commas, but Kibana would see that as a single value.

For now, the only option I see is to give the merged documents some unique value and add the same values to the separate documents in the other index, so the filter would work as expected. But that requires some work...

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [January 11, 2021, 3:36pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/4 "2021-01-11T15:36:40Z")

</div>

Can you open an enhancement request at [https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature\_request.md](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md)?

---

<div class="post-metadata">

### Author: ![ErikvdVen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/erikvdven/32/24602_2.png) [@ErikvdVen](https://discuss.elastic.co/u/ErikvdVen)
#### Post date: [January 11, 2021, 3:50pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/5 "2021-01-11T15:50:45Z")

</div>

I will do!

---

<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: [February 8, 2021, 3:51pm UTC](https://discuss.elastic.co/t/is-one-of-filter-when-filtering-on-tooltip-map/260617/6 "2021-02-08T15:51:09Z")

</div>

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