From 3d1c433c340c34dd3532a3034073460fed96b3da Mon Sep 17 00:00:00 2001 From: Sean Rose Date: Tue, 5 Mar 2024 23:38:10 +0000 Subject: [PATCH] Reformat Monitor SaaSboards' LookML to match Looker's default format. --- ...ard__active_subscriptions.dashboard.lookml | 29 +++------- .../monitor_saasboard__churn.dashboard.lookml | 57 +++++++------------ ...itor_saasboard__retention.dashboard.lookml | 29 ++-------- ...ard__subscriptions_growth.dashboard.lookml | 27 +++++---- 4 files changed, 48 insertions(+), 94 deletions(-) diff --git a/subscription_platform/dashboards/monitor_saasboard__active_subscriptions.dashboard.lookml b/subscription_platform/dashboards/monitor_saasboard__active_subscriptions.dashboard.lookml index e0ea6f1..6d1e547 100644 --- a/subscription_platform/dashboards/monitor_saasboard__active_subscriptions.dashboard.lookml +++ b/subscription_platform/dashboards/monitor_saasboard__active_subscriptions.dashboard.lookml @@ -6,10 +6,9 @@ description: '' preferred_slug: wNM1LnNxpIHORchipapYYV elements: - - name: Navbar + - name: '' type: text title_text: '' - subtitle_text: '' body_text: |
@@ -46,10 +45,9 @@ col: 0 width: 24 height: 2 - - name: Notes + - name: " (2)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -116,10 +114,9 @@ col: 16 width: 8 height: 4 - - name: Active Subscriptions heading + - name: " (3)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -251,10 +248,9 @@ col: 8 width: 16 height: 8 - - name: Active Subscriptions by Plan heading + - name: " (4)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -345,8 +341,6 @@ fields: [monthly_active_logical_subscriptions.month_month, monthly_active_logical_subscriptions.logical_subscription_count, monthly_active_logical_subscriptions.subscription__plan_summary] pivots: [monthly_active_logical_subscriptions.subscription__plan_summary] - fill_fields: [] - filters: {} sorts: [monthly_active_logical_subscriptions.month_month desc, monthly_active_logical_subscriptions.subscription__plan_summary] limit: 5000 column_limit: 100 @@ -395,10 +389,9 @@ col: 12 width: 12 height: 8 - - name: Active Subscriptions by Plan Interval heading + - name: " (5)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -489,8 +482,6 @@ fields: [monthly_active_logical_subscriptions.month_month, monthly_active_logical_subscriptions.logical_subscription_count, monthly_active_logical_subscriptions.subscription__plan_interval] pivots: [monthly_active_logical_subscriptions.subscription__plan_interval] - fill_fields: [] - filters: {} sorts: [monthly_active_logical_subscriptions.month_month desc, monthly_active_logical_subscriptions.subscription__plan_interval] limit: 500 column_limit: 50 @@ -539,10 +530,9 @@ col: 12 width: 12 height: 8 - - name: Active Subscriptions by Payment Provider heading + - name: " (6)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -633,8 +623,6 @@ fields: [monthly_active_logical_subscriptions.month_month, monthly_active_logical_subscriptions.logical_subscription_count, monthly_active_logical_subscriptions.subscription__payment_provider] pivots: [monthly_active_logical_subscriptions.subscription__payment_provider] - fill_fields: [] - filters: {} sorts: [monthly_active_logical_subscriptions.month_month desc, monthly_active_logical_subscriptions.subscription__payment_provider] limit: 500 column_limit: 50 @@ -683,10 +671,9 @@ col: 12 width: 12 height: 8 - - name: Active Subscriptions by Country heading + - name: " (7)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -777,8 +764,6 @@ fields: [monthly_active_logical_subscriptions.month_month, monthly_active_logical_subscriptions.logical_subscription_count, countries.name] pivots: [countries.name] - fill_fields: [] - filters: {} sorts: [monthly_active_logical_subscriptions.month_month desc, countries.name] limit: 5000 column_limit: 100 diff --git a/subscription_platform/dashboards/monitor_saasboard__churn.dashboard.lookml b/subscription_platform/dashboards/monitor_saasboard__churn.dashboard.lookml index a40ec93..5fbeec2 100644 --- a/subscription_platform/dashboards/monitor_saasboard__churn.dashboard.lookml +++ b/subscription_platform/dashboards/monitor_saasboard__churn.dashboard.lookml @@ -6,10 +6,9 @@ description: '' preferred_slug: LO0Ak9rf8cBqZdEeuvl7BN elements: - - name: Navbar + - name: '' type: text title_text: '' - subtitle_text: '' body_text: |
@@ -46,10 +45,9 @@ col: 0 width: 24 height: 2 - - name: Notes + - name: " (2)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -123,7 +121,6 @@ type: looker_column fields: [retention_by_month.subscription_month_number, retention_by_month.churned_subscription_count, retention_by_month.previously_retained_subscription_count] - filters: {} sorts: [retention_by_month.subscription_month_number] limit: 500 column_limit: 50 @@ -167,8 +164,8 @@ id: retention_by_month.churned_subscription_count, name: Churned Subscription Count}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: custom, tickDensityCustom: 70, type: linear}, {label: !!null '', orientation: right, - series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], - showLabels: true, showValues: true, valueFormat: 0%, unpinAxis: false, tickDensity: default, + series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], showLabels: true, + showValues: true, valueFormat: 0%, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}] x_axis_zoom: true y_axis_zoom: true @@ -200,7 +197,6 @@ type: looker_line fields: [retention_by_month.churned_subscription_count, retention_by_month.previously_retained_subscription_count, logical_subscriptions.started_at_month] - filters: {} sorts: [logical_subscriptions.started_at_month] limit: 500 column_limit: 50 @@ -237,10 +233,9 @@ y_axis_combined: true show_null_points: false interpolation: linear - y_axes: [{label: !!null '', orientation: left, series: [{axisId: churn_rate, - id: churn_rate, name: Churn Rate}], showLabels: false, showValues: true, - valueFormat: 0%, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, - type: linear}] + y_axes: [{label: !!null '', orientation: left, series: [{axisId: churn_rate, id: churn_rate, + name: Churn Rate}], showLabels: false, showValues: true, valueFormat: 0%, + unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}] x_axis_label: Cohort x_axis_zoom: true y_axis_zoom: true @@ -333,9 +328,10 @@ y_axes: [{label: '', orientation: left, series: [{axisId: churned_subscription_count, id: churned_subscription_count, name: Churned Subscription Count}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, type: linear}, { - label: !!null '', orientation: right, series: [{axisId: pooled_churn_rate, id: pooled_churn_rate, - name: Pooled Churn Rate}], showLabels: true, showValues: true, valueFormat: 0%, - unpinAxis: false, tickDensity: default, tickDensityCustom: 5, type: linear}] + label: !!null '', orientation: right, series: [{axisId: pooled_churn_rate, + id: pooled_churn_rate, name: Pooled Churn Rate}], showLabels: true, showValues: true, + valueFormat: 0%, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, + type: linear}] x_axis_zoom: true y_axis_zoom: true hide_legend: true @@ -425,9 +421,9 @@ show_null_points: true interpolation: linear defaults_version: 1 - note: - text: "The Subscription Start Date filter does not apply to this chart." - display: hover + note_state: collapsed + note_display: hover + note_text: The Subscription Start Date filter does not apply to this chart. listen: Plan Interval: logical_subscriptions.plan_interval Has Refunds (Yes / No): logical_subscriptions.has_refunds @@ -441,10 +437,9 @@ col: 12 width: 12 height: 8 - - name: Churn by Plan Interval heading + - name: " (3)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -463,7 +458,6 @@ fields: [retention_by_month.churned_subscription_count, retention_by_month.previously_retained_subscription_count, retention_by_month.subscription_month_number, logical_subscriptions.plan_interval] pivots: [logical_subscriptions.plan_interval] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval] limit: 500 column_limit: 50 @@ -536,7 +530,6 @@ retention_by_month.subscription_month_number, logical_subscriptions.plan_interval, logical_subscriptions.plan_interval_months] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval_months] limit: 500 column_limit: 50 @@ -580,9 +573,9 @@ id: retention_by_month.churned_subscription_count, name: Churned Subscription Count}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: custom, tickDensityCustom: 70, type: linear}, {label: !!null '', orientation: left, - series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], - showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, - tickDensityCustom: 5, type: linear}] + series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], showLabels: true, + showValues: true, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, + type: linear}] show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default @@ -639,7 +632,6 @@ fields: [retention_by_month.churned_subscription_count, retention_by_month.subscription_month_number, logical_subscriptions.plan_interval, logical_subscriptions.plan_interval_months] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval_months] limit: 500 column_limit: 50 @@ -687,9 +679,9 @@ id: retention_by_month.churned_subscription_count, name: Churned Subscription Count}], showLabels: true, showValues: true, unpinAxis: false, tickDensity: custom, tickDensityCustom: 70, type: linear}, {label: !!null '', orientation: left, - series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], - showLabels: true, showValues: true, unpinAxis: false, tickDensity: default, - tickDensityCustom: 5, type: linear}] + series: [{axisId: churn_rate, id: churn_rate, name: Churn Rate}], showLabels: true, + showValues: true, unpinAxis: false, tickDensity: default, tickDensityCustom: 5, + type: linear}] show_y_axis_labels: true show_y_axis_ticks: true y_axis_tick_density: default @@ -737,10 +729,9 @@ col: 0 width: 24 height: 4 - - name: Churn by Cohort heading + - name: " (4)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -759,8 +750,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.churned_subscription_count, retention_by_month.previously_retained_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - fill_fields: [] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.started_at_month] limit: 500 column_limit: 50 @@ -849,7 +838,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.churned_subscription_count, retention_by_month.previously_retained_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.started_at_month] limit: 500 column_limit: 50 @@ -945,7 +933,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.churned_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.started_at_month] limit: 500 column_limit: 50 diff --git a/subscription_platform/dashboards/monitor_saasboard__retention.dashboard.lookml b/subscription_platform/dashboards/monitor_saasboard__retention.dashboard.lookml index aa86d33..a6fc822 100644 --- a/subscription_platform/dashboards/monitor_saasboard__retention.dashboard.lookml +++ b/subscription_platform/dashboards/monitor_saasboard__retention.dashboard.lookml @@ -6,10 +6,9 @@ description: '' preferred_slug: 4OLpCAQsglh1d434LNOjP5 elements: - - name: Navbar + - name: '' type: text title_text: '' - subtitle_text: '' body_text: |
@@ -46,10 +45,9 @@ col: 0 width: 24 height: 2 - - name: Notes + - name: " (2)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -116,10 +114,9 @@ col: 16 width: 8 height: 4 - - name: Retention Rate heading + - name: " (3)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -137,7 +134,6 @@ type: looker_column fields: [retention_by_month.subscription_month_number, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count] - filters: {} sorts: [retention_by_month.subscription_month_number] limit: 500 column_limit: 50 @@ -217,7 +213,6 @@ type: looker_column fields: [retention_by_month.retained_subscription_count, logical_subscriptions.started_at_month, logical_subscriptions.logical_subscription_count] - filters: {} sorts: [logical_subscriptions.started_at_month] limit: 500 column_limit: 50 @@ -291,10 +286,9 @@ col: 12 width: 12 height: 9 - - name: Retention by Plan Interval heading + - name: " (4)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -306,14 +300,13 @@ width: 24 height: 2 - title: Retention Rate by Plan Interval - name: Retention by Plan Interval + name: Retention Rate by Plan Interval model: subscription_platform explore: logical_subscriptions type: looker_line fields: [retention_by_month.subscription_month_number, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count, logical_subscriptions.plan_interval] pivots: [logical_subscriptions.plan_interval] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval] limit: 500 column_limit: 50 @@ -390,7 +383,6 @@ logical_subscriptions.logical_subscription_count, logical_subscriptions.plan_interval, logical_subscriptions.plan_interval_months] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval_months] limit: 500 column_limit: 50 @@ -504,7 +496,6 @@ fields: [retention_by_month.subscription_month_number, retention_by_month.retained_subscription_count, logical_subscriptions.plan_interval, logical_subscriptions.plan_interval_months] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [retention_by_month.subscription_month_number, logical_subscriptions.plan_interval_months] limit: 500 column_limit: 50 @@ -612,10 +603,9 @@ col: 0 width: 24 height: 4 - - name: Retention by Cohort heading + - name: " (5)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -634,8 +624,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - fill_fields: [] - filters: {} sorts: [logical_subscriptions.started_at_month, retention_by_month.subscription_month_number] limit: 500 column_limit: 50 @@ -709,8 +697,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count, retention_by_month.subscription_month_number] pivots: [logical_subscriptions.started_at_month] - fill_fields: [] - filters: {} sorts: [logical_subscriptions.started_at_month, retention_by_month.subscription_month_number] limit: 500 column_limit: 50 @@ -782,7 +768,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - filters: {} sorts: [logical_subscriptions.started_at_month, retention_by_month.subscription_month_number] limit: 500 column_limit: 50 @@ -895,8 +880,6 @@ fields: [logical_subscriptions.started_at_month, retention_by_month.retained_subscription_count, logical_subscriptions.logical_subscription_count, retention_by_month.subscription_month_number] pivots: [retention_by_month.subscription_month_number] - fill_fields: [] - filters: {} sorts: [logical_subscriptions.started_at_month, retention_by_month.subscription_month_number] limit: 500 column_limit: 50 diff --git a/subscription_platform/dashboards/monitor_saasboard__subscriptions_growth.dashboard.lookml b/subscription_platform/dashboards/monitor_saasboard__subscriptions_growth.dashboard.lookml index 423a7fd..e2551e5 100644 --- a/subscription_platform/dashboards/monitor_saasboard__subscriptions_growth.dashboard.lookml +++ b/subscription_platform/dashboards/monitor_saasboard__subscriptions_growth.dashboard.lookml @@ -6,10 +6,9 @@ description: '' preferred_slug: STOyQVJV1ejgsvmUcLxFFH elements: - - name: Navbar + - name: '' type: text title_text: '' - subtitle_text: '' body_text: |
@@ -46,10 +45,9 @@ col: 0 width: 24 height: 2 - - name: Notes + - name: " (2)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -116,10 +114,9 @@ col: 16 width: 8 height: 4 - - name: New Subscriptions heading + - name: " (3)" type: text title_text: '' - subtitle_text: '' body_text: |-
@@ -231,6 +228,11 @@ label_density: 25 x_axis_scale: auto y_axis_combined: true + ordering: none + show_null_labels: false + show_totals_labels: false + show_silhouette: false + totals_color: "#808080" show_null_points: true interpolation: linear y_axes: [{label: New Subscriptions, orientation: left, series: [{axisId: logical_subscription_events.logical_subscription_count, @@ -263,7 +265,6 @@ fields: [logical_subscription_events.logical_subscription_count, countries.name, logical_subscription_events.timestamp_month] pivots: [countries.name] - fill_fields: [] filters: logical_subscription_events.type: Subscription Start sorts: [logical_subscription_events.timestamp_month desc, countries.name] @@ -329,7 +330,6 @@ fields: [logical_subscription_events.logical_subscription_count, logical_subscription_events.subscription__plan_interval, logical_subscription_events.timestamp_month] pivots: [logical_subscription_events.subscription__plan_interval] - fill_fields: [] filters: logical_subscription_events.type: Subscription Start sorts: [logical_subscription_events.timestamp_month desc, logical_subscription_events.subscription__plan_interval] @@ -525,7 +525,6 @@ fields: [logical_subscription_events.logical_subscription_count, logical_subscription_events.subscription__plan_summary, logical_subscription_events.timestamp_month] pivots: [logical_subscription_events.subscription__plan_summary] - fill_fields: [] filters: logical_subscription_events.type: Subscription Start sorts: [logical_subscription_events.timestamp_month desc, logical_subscription_events.subscription__plan_summary] @@ -700,9 +699,10 @@ interpolation: linear defaults_version: 1 hidden_pivots: {} - note: - text: "This chart only includes new subscriptions that were attributed to a campaign." - display: hover + note_state: collapsed + note_display: hover + note_text: This chart only includes new subscriptions that were attributed to + a campaign. listen: Payment Provider: logical_subscription_events.subscription__payment_provider Subscription Start Date: logical_subscription_events.timestamp_date @@ -717,10 +717,9 @@ col: 12 width: 12 height: 10 - - name: Net New Subscriptions heading + - name: " (4)" type: text title_text: '' - subtitle_text: '' body_text: |-