Modified mtd_aggregated_metrics to reporting
This commit is contained in:
parent
90a7ad5eea
commit
d11f639562
2 changed files with 8 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ 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
|
||||||
|
|
|
||||||
|
|
@ -406,6 +406,13 @@ 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue