Can a dashboard filter be applied to multiple fields?

Knowledge Drop

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.                

Version history
Last update:
‎05-07-2021 09:48 AM
Updated by: