From 74f07fc4fb2335faf47769ba95f16aff487888d5 Mon Sep 17 00:00:00 2001 From: Frank Bertsch Date: Thu, 28 Jan 2021 19:26:42 +0000 Subject: [PATCH] Add new field to counters for all users --- firefox_ios/firefox_ios.model.lkml | 2 +- firefox_ios/views/counters.view.lkml | 5 +++++ firefox_ios/views/metrics_counters.view.lkml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/firefox_ios/firefox_ios.model.lkml b/firefox_ios/firefox_ios.model.lkml index 1ab0c10..b2d0222 100644 --- a/firefox_ios/firefox_ios.model.lkml +++ b/firefox_ios/firefox_ios.model.lkml @@ -1,7 +1,7 @@ connection: "telemetry" label: "Firefox for iOS" -include: "//looker-hub/firefox_ios/*.view.lkml" +include: "//looker-hub/firefox_ios/views/*.view.lkml" include: "views/*.view.lkml" include: "dashboards/*.dashboard" diff --git a/firefox_ios/views/counters.view.lkml b/firefox_ios/views/counters.view.lkml index f119121..ec4f85f 100644 --- a/firefox_ios/views/counters.view.lkml +++ b/firefox_ios/views/counters.view.lkml @@ -229,4 +229,9 @@ view: counters { sql: SAFE_DIVIDE(COUNTIF(${client_aggregate} > 0), COUNT(*)) ;; type: number } + + measure: total_users_overall { + sql: COUNT(*) ;; + type: number + } } diff --git a/firefox_ios/views/metrics_counters.view.lkml b/firefox_ios/views/metrics_counters.view.lkml index 511a7ff..b0c102e 100644 --- a/firefox_ios/views/metrics_counters.view.lkml +++ b/firefox_ios/views/metrics_counters.view.lkml @@ -1,4 +1,4 @@ -include: "//looker-hub/firefox_ios/*" +include: "//looker-hub/firefox_ios/views/*" view: metrics_counters { derived_table: {