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
-- TODO: max join on installs ? Have an LTV_MAX variable (e.g. 2 years)
66
68
-- and then join on installs via installs > EVENT_DATE - 2 years?
67
-
GROUP BY1,2,3,4 {% for n in range(5, 5+ eventDimensionsUnnestedCount + installedDatesDimensionsUnnestedCount + installDimensionsUnnestedCount) -%} ,{{ n }} {%- endfor %}
69
+
GROUP BY1,2,3,4,5,6 {% for n in range(7, 7+ eventDimensionsUnnestedCount + installedDatesDimensionsUnnestedCount + installDimensionsUnnestedCount) -%} ,{{ n }} {%- endfor %}
AND {{ ta_firebase.makeListIntoSQLInFilter("events.event_name", eventNamesToLookFor| list) }}
67
69
ANDinstalls.event_date>='2020-01-01'
68
70
-- TODO: max join on installs ?
69
-
GROUP BY1,2,3,4 {% for n in range(5, 5+ eventDimensionsUnnestedCount + installedDatesDimensionsUnnestedCount + installDimensionsUnnestedCount) -%} ,{{ n }} {%- endfor %}
71
+
GROUP BY1,2,3,4,5,6 {% for n in range(7, 7+ eventDimensionsUnnestedCount + installedDatesDimensionsUnnestedCount + installDimensionsUnnestedCount) -%} ,{{ n }} {%- endfor %}
0 commit comments