Skip to content

Commit

Permalink
AGG event_data
Browse files Browse the repository at this point in the history
  • Loading branch information
agregori97 committed Jul 12, 2024
1 parent c570dd5 commit 501410a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions views/sessions.view.lkml
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,13 @@ extends: [event_funnel, page_funnel]
sql: ${TABLE}.user_pseudo_id ;;
}

dimension: event_data_1 {
dimension: event_data {
hidden: yes
type: string
sql: ARRAY_AGG(${TABLE}.event_data) ;;
sql: SELECT ARRAY_AGG(event_data) FROM ${TABLE} ;;
## 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"
Expand Down

0 comments on commit 501410a

Please sign in to comment.