diff --git a/sql_generators/mobile_kpi_support_metrics/templates/new_profile_clients.view.sql b/sql_generators/mobile_kpi_support_metrics/templates/new_profile_clients.view.sql index 34b50b8f45..149cd0f14e 100644 --- a/sql_generators/mobile_kpi_support_metrics/templates/new_profile_clients.view.sql +++ b/sql_generators/mobile_kpi_support_metrics/templates/new_profile_clients.view.sql @@ -4,7 +4,7 @@ CREATE OR REPLACE VIEW AS SELECT client_id, - first_seen_date, + active_users.submission_date AS first_seen_date, normalized_channel, app_name, app_display_version AS app_version, @@ -32,3 +32,5 @@ LEFT JOIN WHERE active_users.submission_date < CURRENT_DATE AND is_new_profile + AND is_daily_user + AND active_users.submission_date = active_users.first_seen_date