Why isn't my dynamic liquid label changing when I change the filter value?

Knowledge Drop

Last tested: Aug 30, 2018
 

Is it changing in the visualization? Keep in mind that when a value of a liquid variable used in the label parameter is changed on the explore page, the change will be reflected in the visualization, but NOT in the Results table or in the field picker.

Example: You have a label parameter defined like this: label: "{% if _filters['orders2.status'] == ''%}'default'{% else %}{{_filters['orders2.status']}}{% endif %}" 

Before filtering on status (Results table and vis both say "default"):

Screen Shot 2018-08-30 at 4.34.26 PM.png

After filtering on status (Visualization now says "test"; Results table still says "default"):

Screen Shot 2018-08-30 at 4.33.52 PM.png

This content is subject to limited support.                

Version history
Last update:
‎04-05-2021 09:02 AM
Updated by: