From 7ada9de3a1b0011d3fbc81823bd9c28a7eefb9a5 Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Thu, 30 Jan 2025 16:34:27 +0100 Subject: [PATCH] Added comments --- models/reporting/general/mtd_aggregated_metrics.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/reporting/general/mtd_aggregated_metrics.sql b/models/reporting/general/mtd_aggregated_metrics.sql index e5509c4..0a4ecd1 100644 --- a/models/reporting/general/mtd_aggregated_metrics.sql +++ b/models/reporting/general/mtd_aggregated_metrics.sql @@ -83,7 +83,9 @@ where or lower(metric) like '%damage host%' ) ) - -- If metric is Churn Rate or Expected MRR, do not show month in progress + -- If metric is Churn Rate or Expected MRR, do not show month in progress. + -- Unlike other revenue metrics, Expected MRR is calculated for the next month, + -- so it is not affected by the invoicing cycle. and not ( (lower(metric) like '%churn rate%' or lower(metric) like '%mrr%') and is_current_month = true