# Usage of Lens in Dashboard

**URL:** https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868
**Category:** Kibana
**Tags:** lens
**Created:** [October 28, 2021, 4:10am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868 "2021-10-28T04:10:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)
#### Post date: [October 28, 2021, 4:10am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868/1 "2021-10-28T04:10:28Z")

</div>

Hi

Im trying to use Lens visualization. I have two views as metric and bar chart as below

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

When I add this to dashboard, Im able to see only one of the two

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

So how to use other graph (bar chart). I dont see a way to change the view from dashboard itself. I need to edit visualization chnage this to bar chart and then save it as below

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

Similarly for time series graphs also, I have mutiple views like data table. But Im able to see only one of them in dashboard

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e94237d8beda35e23d4fc4eee9ce5e4fe331fb7.png)

Can I switch the view from dashboard itself, instead of going inside and changing the visualization?

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [October 28, 2021, 9:25am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868/2 "2021-10-28T09:25:57Z")

</div>

Hi @RAM_NATHAN

In your first screenshot I can see one chart (metric one) with 2 suggestions: do you want to show all the visualizations in the suggestion list on your dashboard?

If that is the case, there's a simple thing you can do:

- Clone the metric Lens visualization (in Edit mode click the cog icon on the top right of the panel, then "Clone")
- Open the cloned visualization in Lens (still cog icon =\> Open in Lens)
- click on the suggested chart on the suggestion list (the bar chart one)
- now click "Save and return"

---

<div class="post-metadata">

### Author: ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)
#### Post date: [October 28, 2021, 9:49am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868/3 "2021-10-28T09:49:19Z")

</div>

Means, I have to create 2 visualizations one for Metric Text, other for bar chart and add both separately to dashboard.

I guess same approach i need to follow for time series multiple views

Correct?

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [October 28, 2021, 11:01am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868/4 "2021-10-28T11:01:42Z")

</div>

Correct.  
With the cloning step you can speed up a bit the data configuration, but then a minimum editing for the final tweak (chart type or else) is required.

---

<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: [November 25, 2021, 11:01am UTC](https://discuss.elastic.co/t/usage-of-lens-in-dashboard/287868/5 "2021-11-25T11:01:44Z")

</div>

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