I would like to use something like this so that I’m able to hide dimensions based on the name of the view.
dimension_group: started_on {
hidden: "{% if _view._name == 'VIEW NAME' %} yes {% else %} no {% endif %}"
type: time
timeframes: [
raw,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}."STARTED_ON" ;;
I need the same.