Merged PR 2526: Revert 'Modified mtd_aggregated_metrics to reporting'

# Description

_Describe your motivation and changes here._

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] 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.

# Description

Modified mtd_aggregated_metrics to reporting

# 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.
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

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

Modified mtd_aggregated_metrics to reporting

Reverts !2525

Related work items: #19559
This commit is contained in:
Oriol Roqué Paniagua 2024-08-08 13:27:06 +00:00
parent 0777b3210a
commit 661f9b9245
2 changed files with 0 additions and 8 deletions

View file

@ -18,7 +18,6 @@ select
value as value, value as value,
previous_year_value as previous_year_value, previous_year_value as previous_year_value,
relative_increment as relative_increment relative_increment as relative_increment
relative_increment_with_sign_format as relative_increment_with_sign_format
from int_mtd_aggregated_metrics from int_mtd_aggregated_metrics
/* /*
The following where condition is applied to avoid displaying revenue metrics The following where condition is applied to avoid displaying revenue metrics

View file

@ -406,13 +406,6 @@ models:
numeric value that corresponds to the relative increment between value and previous year value, numeric value that corresponds to the relative increment between value and previous year value,
following the computation: value / previous_year_value - 1. following the computation: value / previous_year_value - 1.
- name: relative_increment_with_sign_format
data_type: numeric
description: |
relative_increment value multiplied by -1 in case this metric's growth doesn't have a
positive impact for Superhog, otherwise is equal to relative_increment.
This value is specially created for formatting in PBI
- name: monthly_aggregated_metrics_history_by_deal - name: monthly_aggregated_metrics_history_by_deal
description: | description: |
This model aggregates the monthly historic information regarding the different metrics computed This model aggregates the monthly historic information regarding the different metrics computed