Merged PR 4510: Fix sign

# Description

Fix sign...

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Fix sign

Related work items: #27609
This commit is contained in:
Oriol Roqué Paniagua 2025-02-25 15:24:05 +00:00
parent 271f017cf5
commit 84bdfe6083

View file

@ -20,7 +20,7 @@ with
-- Handle exclusion for Churn/MRR metrics: do not show them in the -- Handle exclusion for Churn/MRR metrics: do not show them in the
-- current month. -- current month.
display_exclusion = 'ONGOING_MONTH' display_exclusion = 'ONGOING_MONTH'
and date_trunc('month', m.date) > date_trunc('month', current_date) and date_trunc('month', m.date) < date_trunc('month', current_date)
) )
-- Keep all history for the rest of metrics -- Keep all history for the rest of metrics
or display_exclusion = 'NONE' or display_exclusion = 'NONE'