Knowledge Drop

Can a dashboard filter be applied to multiple fields?


Userlevel 1

Last tested: Jan 6, 2021
 

Yes- if you use the sql: parameter on a filter field like this: filter: datefil {

type: date

sql: {% condition %} ${created_date} {% endcondition %} and {% condition %} ${users.created_date} {% endcondition %};;

}

Note that since we are referencing another view, every explore using the view where this field is declared must either join the referenced view or exclude this field.

 

 

This content is subject to limited support.                

 


0 replies

Be the first to reply!

Reply