Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Am I able to use liquid filters to determine the value of the 'hidden: ' field ?

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" ;;
0 2 507
2 REPLIES 2
Top Labels in this Space