You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the following chrome console error while trying to create a histogram with the viz-histogram-marketplace visualization:
Uncaught (in promise) Error: Expression parse error: ({"First
"templated_filter_value_event_1"
": !isValid(datum["bin_step_15_fct_funnel_avg_days_first1_first2"]) || !isFinite(+datum["bin_step_15_fct_funnel_avg_days_first1_first2"]) ? "null" : format(datum["bin_step_15_fct_funnel_avg_days_first1_first2"], "") + " – " + format(datum["bin_step_15_fct_funnel_avg_days_first1_first2_end"], ""), "Count of Records": format(datum["__count"], "")})
at l (marketplace-api.looker.com/viz-dist/histogram.js:1)
at Xw (marketplace-api.looker.com/viz-dist/histogram.js:20)
at bk (marketplace-api.looker.com/viz-dist/histogram.js:20)
at mk (marketplace-api.looker.com/viz-dist/histogram.js:20)
at gk (marketplace-api.looker.com/viz-dist/histogram.js:20)
at AA (marketplace-api.looker.com/viz-dist/histogram.js:20)
at marketplace-api.looker.com/viz-dist/histogram.js:20
at Array.forEach (<anonymous>)
at sD (marketplace-api.looker.com/viz-dist/histogram.js:20)
at uD (marketplace-api.looker.com/viz-dist/histogram.js:20)
The reason for this is that the measure I am trying to show in the histogram, has a label of the following form:
filter: event_1 {
label: "1. Choose event 1"
case_sensitive: yes
suggest_dimension: eventname_suggestions.event_name_cleaned
suggest_explore: eventname_suggestions
}
measure: sum {
label: "
First
{% if fct_funnel.event_1._is_filtered %}
{{ _filters['fct_funnel.event_1'] }}
{% else %}
event 1
{% endif %}
to first
{% if fct_funnel.event_2._is_filtered %}
{{ _filters['fct_funnel.event_2'] }}
{% else %}
event 2
{% endif %}
"
type: sum
}
If I remove the label, the visualization does work.
Any idea how to fix this?
The text was updated successfully, but these errors were encountered:
I receive the following chrome console error while trying to create a histogram with the viz-histogram-marketplace visualization:
The reason for this is that the measure I am trying to show in the histogram, has a label of the following form:
If I remove the label, the visualization does work.
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: