From c570dd5c2d0da7b441338b834870f33181a6dcc4 Mon Sep 17 00:00:00 2001 From: Andres Gregori Altamirano Date: Fri, 12 Jul 2024 15:23:32 +0000 Subject: [PATCH] Change unnest stage --- views/sessions.view.lkml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/views/sessions.view.lkml b/views/sessions.view.lkml index af2f398..01ff4ae 100644 --- a/views/sessions.view.lkml +++ b/views/sessions.view.lkml @@ -155,13 +155,18 @@ extends: [event_funnel, page_funnel] sql: ${TABLE}.user_pseudo_id ;; } - dimension: event_data { + dimension: event_data_1 { hidden: yes type: string sql: ARRAY_AGG(${TABLE}.event_data) ;; ## This is the parent array that contains the event_data struct elements. It is not directly useably as a dimension. ## It is necessary for proper unnesting in the model Join. } + dimension: event_data { + hidden: yes + type: string + sql: ${event_data_1} ;; + } dimension: audience_trait { view_label: "Audience"