# Kibana drilldown on lens metrics doesn't work

**URL:** <https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698>\
**Category:** Kibana\
**Created:** [December 6, 2023, 6:30am UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698 "2023-12-06T06:30:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prakash\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prakash_gupta/32/100267_2.png) [@Prakash\_Gupta](https://discuss.elastic.co/u/Prakash_Gupta)\
**Post date:** [December 6, 2023, 6:30am UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/1 "2023-12-06T06:30:37Z")

</div>

I am trying to add a dashboard drill for a lens metrics. It let's me add the dashboard link but the visualization is not clickable. I am using Kibana 8.10 version. Could someone tell me if I am missing some setting or this is a bug. I found some more discussion on this but they are closed the issue has been fixed. May be its re-introduced.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 12, 2023, 5:28pm UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/2 "2023-12-12T17:28:47Z")

</div>

Tested on 8.10.4 with the eCommerce sample dataset, I could create a drilldown and link to another dashboard carrying over the filters as expected.

![Peek 2023-12-12 18-27](https://us1.discourse-cdn.com/elastic/original/3X/4/7/47cdbb8bb947f3821769fa2bb95dfd39072ed0d5.gif)

Can you share a set of reproducible steps?

---

<div class="post-metadata">

**Author:** ![Prakash\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prakash_gupta/32/100267_2.png) [@Prakash\_Gupta](https://discuss.elastic.co/u/Prakash_Gupta)\
**Post date:** [December 12, 2023, 6:51pm UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/3 "2023-12-12T18:51:08Z")

</div>

Sorry, I should have provided the steps to reproduce in my initial description.  
It works fine if you create have some aggregations on visualization but if you have a simple metric visualization where there is no filter to apply, it doesn't display the dashboard url option to click.  
Steps to reproduce are as follows:

1. Create a metric visualization -\> set metric aggregation as Count
2. Create a drilldown and add a dashboard to navigate.
3. Save and switch to view mode -\> hover on the visualization

Expected output : It should allow you to click on it and give you the option to navigate to the dashboard you setup under drilldown.  
Actual result: The metric is not clickable.

The same issue is reproducible on Vega visualization as well. Just create a simple vega visualization and try the same steps.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 13, 2023, 11:41am UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/4 "2023-12-13T11:41:45Z")

</div>

Ah, now that makes more sense, thanks. I could reproduce in 8.11.3.

Unfortunately, this seems to be a regression, and I've reopened this issue to ping the team.

> <https://github.com/elastic/kibana/issues/122879>
>
> \*\*Describe the feature:\*\*
> Allow a user to configure a lens metric vis to drill …down passing an \_exists\_ filter for the selected metric (and including any global filter state)
> 
> \*\*Describe a specific use case for the feature:\*\*
> \*\*When\*\* I see a metric is not performing well on a dashboard
> \*\*And\*\* I have a separate "drilldown dashboard" that details a single metric's performance holistically
> \*\*I need\*\* to create a drill down from the metric overall to a target dashboard
> \*\*So I can\*\* investigate "all" of something without breaking it down

Feel free to chime in there if you want to provide any further feedback.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 13, 2023, 11:53am UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/5 "2023-12-13T11:53:10Z")

</div>

.... and my colleague gave the correct answer and closed the issue again 😅

Just do a count for a specific field so the drilldown knows which field should filter.

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

---

<div class="post-metadata">

**Author:** ![Prakash\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prakash_gupta/32/100267_2.png) [@Prakash\_Gupta](https://discuss.elastic.co/u/Prakash_Gupta)\
**Post date:** [December 13, 2023, 3:10pm UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/6 "2023-12-13T15:10:52Z")

</div>

That could be good workaround to count a field instead but actually I am having trouble with 2 types of visualizations: a lens metric where I am using percentile and a Vega visualization.  
This workaround won't work there.  
I just commented in the ticket. The navigate to a dashboard should work even if there is no filter.

---

<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:** [January 10, 2024, 3:11pm UTC](https://discuss.elastic.co/t/kibana-drilldown-on-lens-metrics-doesnt-work/348698/7 "2024-01-10T15:11:20Z")

</div>

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