# Globla Time Filter for Lens Visualisation

**URL:** <https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881>\
**Category:** Kibana\
**Tags:** lens, visualisation\
**Created:** [April 26, 2023, 8:14pm UTC](https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881 "2023-04-26T20:14:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepack86](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@deepack86](https://discuss.elastic.co/u/deepack86)\
**Post date:** [April 26, 2023, 8:14pm UTC](https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881/1 "2023-04-26T20:14:52Z")

</div>

Hi! I want to make a canvas pad with much lens visualisation. There is globaltimefilter to set the date an time for all lens. If i set a date and time the lens visualtion doesn't scale the time axis

 ![axis1](https://us1.discourse-cdn.com/elastic/original/3X/a/5/a5183f43d508f83a01b0f8cc268d1bdfca6291b6.png)  
The code for the lens embedding in canvas is :  
kibana  
| selectFilter group="globaltimefilter"  
| embeddable  
config="...." type="lens"

| render

If i choose a smaller timerange from the visu, the visu only will show the selected timerange.

 ![axis2](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f179e72b83348af8e4a1b71d9e4a9284bb1923c.png)

Is it possible that the lens time axis scale automatic to the settings from the globaltimefilter?

Greetz Thomas

Edit: I use the version 8.6.1

---

<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:** [April 27, 2023, 4:55pm UTC](https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881/2 "2023-04-27T16:55:04Z")

</div>

Hi @deepack86. Unfortunately, Canvas filters simply don't work well with embeddables. This is a known limitation for which we do not have a workaround. Dashboard will provide the best experience with charts from Lens.

---

<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:** [April 28, 2023, 8:13am UTC](https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881/3 "2023-04-28T08:13:15Z")

</div>

Have you seen already this answer? [Dropdown in canvas does not filter visualization from 'Add from Kibana" - #2 by Marco\_Liberati](https://discuss.elastic.co/t/dropdown-in-canvas-does-not-filter-visualization-from-add-from-kibana/284631/2)

---

<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:** [May 26, 2023, 8:14am UTC](https://discuss.elastic.co/t/globla-time-filter-for-lens-visualisation/330881/4 "2023-05-26T08:14:05Z")

</div>

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