# Filter Visualizations on a Dashboard using the default time range (dashboard upper right corner) on filter conditions using fields other than index pattern primary time field

**URL:** <https://discuss.elastic.co/t/filter-visualizations-on-a-dashboard-using-the-default-time-range-dashboard-upper-right-corner-on-filter-conditions-using-fields-other-than-index-pattern-primary-time-field/278209>\
**Category:** Kibana\
**Created:** [July 8, 2021, 5:22pm UTC](https://discuss.elastic.co/t/filter-visualizations-on-a-dashboard-using-the-default-time-range-dashboard-upper-right-corner-on-filter-conditions-using-fields-other-than-index-pattern-primary-time-field/278209 "2021-07-08T17:22:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fefontana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fefontana/32/62843_2.png) [@fefontana](https://discuss.elastic.co/u/fefontana)\
**Post date:** [July 14, 2021, 7:48pm UTC](https://discuss.elastic.co/t/filter-visualizations-on-a-dashboard-using-the-default-time-range-dashboard-upper-right-corner-on-filter-conditions-using-fields-other-than-index-pattern-primary-time-field/278209/5 "2021-07-14T19:48:24Z")

</div>

Thank you Joe, just to conclude this thread, I've implemented the two options, and all worked fine.

Main index: mock\_sms

**Option1:**  
Defining 3 Index Patterns this way (without spaces after comma):

mock\_sms\*,fecha ─────────► fecha default Time field in index pattern  
mock\_sms\*,fechaRespuesta ──► fechaRespuesta default Time field in index pattern  
mock\_sms,fechaRecepcion ───►fechaRecepcion default Time field in index pattern

then I've implemented 3 different visualizations, each one pointing to each of previous index patterns. Finally, I loaded the three visualizations in a new dashboard. Now, every time the default date in the dashboard is changed, also change the date scale in the three visualizations at the same time.

**Option2:**  
I've implemented three visualizations, each one with the three date fields above using Lens:  
Visualization1 - X Axis: fecha  
Visualization2 - X Axis: fechaRecepcion  
Visualization3 - X Axis: fechaRespuesta

and loaded in a new dashboard. The dashboard behaves the same as in Option1.  
The only drawback in Option2 is Lens does not allow too many customizations in visualizations. For example: [Change format of labels in a visualization X axis chart](https://discuss.elastic.co/t/change-format-of-labels-in-a-visualization-x-axis-chart/265131)  
Perhaps Lens needs more time to get more customization features.

---

_[View the full topic](https://discuss.elastic.co/t/filter-visualizations-on-a-dashboard-using-the-default-time-range-dashboard-upper-right-corner-on-filter-conditions-using-fields-other-than-index-pattern-primary-time-field/278209)._
