Calculations & Data Validation

DTP 004 11 activities

Setupsource
Sources: OWS_DTP

Workspace
004 · Sales & Pipeline Planning

Activities 11source
Sources: OWS_ATTIVITA, OWS_OPERAZIONE

0010
0010 — Calculating Basic Metrics
Level 0 · Target: 000001 Enrich Opportunity data Historical opportunities and Pipeline
clears target Update Reporting Layer
6 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 001 Reading from Virtual Dataset Insert from other dataset 000015
Opportunity, basic calcs
1 0010 Adding Customer Attributes Enrichment with reference dataset
ref 000014
Customers Attributes
2 0020 Mapping Product Items Enrichment with reference dataset
ref 000013
Product Item / Product / Portfolio mapping
3 0030 Deriving budget year and month from close date Enrichment with formula
4 0040 Calculating Weighted Value Enrichment with formula
6 TOTO TOTO Enrichment with formula
0020
0020 — Sales Exec forecast to Financial Workspace
Level 1 · Target: 000002 Data for Financial Workspace Data for financial workspace
clears target
2 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 010 Copying Sales Exec Values loaded from Salesforce Insert from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS is null
1 020 Copying Units loaded from Salesforce Insert from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS is null
010
010 — Enriching Pipeline Data with Web Activity Metrics
Level 1 · Target: 000001 Enrich Opportunity data Historical opportunities and Pipeline
clears target Update Reporting Layer
1 op
#CodeDescriptionTypeSourceTarget / MethodMappings
0 000001 Calculate Activity Metrics Insert from other dataset 000006
Enrich w/ Web Traffic
011
011 — Enriching Marketing Campaigns with Channel Type
Level 2 · Target: 000011 Enriching with Channel Type Past Mark. Campaigns
clears target Update Reporting Layer
3 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 001 Reading Marketing Campaigns Insert from other dataset 000011
Past Mark. Campaigns
1 002 Enriching Marketing Campaigns with Channel Type Enrichment with reference dataset
ref 000012
Channel Type Mapping
2 003 Assigning Channel Type to Digital when null Enrichment with formula CH_TYPE is null
Target filter · CH_TYPE is null
012
012 — Enriching Pipeline Data with Marketing Metrics
Level 3 · Target: 000001 Enrich Opportunity data Historical opportunities and Pipeline
clears target Update Reporting Layer
11 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 0010 Retriving Opprtunity data Insert from other dataset 000001
Historical opportunities and Pipeline
1 0020 Enriching with Past Direct Mailing Campaigns Enrichment from other dataset 000005
Enrich w/ Past Marketing Camp.
Source filter · CH_TYPE = '01'
2 0025 Enriching with Planned Direct Mailing Campaigns Enrichment from other dataset 000007
Enrich w/ Planned Marketing Camp.
Source filter · CAMPAIGN_TYPE = '01'
3 0030 Enriching with Past Digital Campaigns Enrichment from other dataset 000005
Enrich w/ Past Marketing Camp.
Source filter · CH_TYPE = '02'
4 0035 Enriching with Planned Digital Campaigns Enrichment from other dataset 000007
Enrich w/ Planned Marketing Camp.
Source filter · CAMPAIGN_TYPE = '02'
5 0040 Enriching with Past Content Campaigns Enrichment from other dataset 000005
Enrich w/ Past Marketing Camp.
Source filter · CH_TYPE = '03'
6 0045 Enriching with Planned Content Campaigns Enrichment from other dataset 000007
Enrich w/ Planned Marketing Camp.
Source filter · CAMPAIGN_TYPE = '03'
7 0050 Enriching with Past Events Campaigns Enrichment from other dataset 000005
Enrich w/ Past Marketing Camp.
Source filter · CH_TYPE = '04'
8 0055 Enriching with Planned Events Campaigns Enrichment from other dataset 000007
Enrich w/ Planned Marketing Camp.
Source filter · CAMPAIGN_TYPE = '04'
9 0065 Customer Purcheses of the last year Enrichment from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS = 'W' and cast(extract('day' from @COUNT_OFF@ - WINLOS_DATE) as integer)<=365
10 0060 Adding custom attributes (tbd) Enrichment with reference dataset
ref 000014
Customers Attributes
015
015 — Validate Pipeline Data
Level 4 · Target: 000001 Enrich Opportunity data Historical opportunities and Pipeline
Update Reporting Layer
3 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 000001 Check Close Date is not Empty Check with formula
1 000002 Check Opp.ty Aging higher than 360 days Check with formula
2 000003 Checks on admitted stage Dictionary check
Message · Some opportunity is in an inconsistent stage
020
020 — Predictive Forecast, calculating Discrete values from continuous values
Level 5 · Target: 000001 Enrich Opportunity data Historical opportunities and Pipeline
1 op
#CodeDescriptionTypeSourceTarget / MethodMappings
0 01 Calculating Discrete values from continuous values Enrichment with formula
030
030 — Predictive Forecast, creating Training Data
Level 7 · Target: 000001 Training Data Historical opportunities and Pipeline
clears target
1 op
#CodeDescriptionTypeSourceTarget / MethodMappings
0 01 Loading closed opportunities only Insert from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS IS NOT NULL
040
040 — Generating Predictive Forecast
Level 8 · Target: 000001 Predictive Data Historical opportunities and Pipeline
clears target
8 ops
#CodeDescriptionTypeSourceTarget / MethodMappings
0 010 Loading open opportunities Insert from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS IS NULL
1 020 Predicting WINLOS Special method RANDOM_FOREST
Calculate Forecast Values using Random Forest model
2 030 Predicting AGING Special method RANDOM_FOREST
Calculate Forecast Values using Random Forest model
3 040 Saving opportunity Aging Categories Before Prediction Enrichment from other dataset 000001 Enrich Opportunity data
Historical opportunities and Pipeline
Source filter · WINLOS IS NULL
4 050 Check on Calculated Aging Categories Enrichment with formula
5 060 Recalculating Aging based on predictions Enrichment with formula AGING_CAT <> AGING_CAT_OLD
Target filter · AGING_CAT <> AGING_CAT_OLD
6 070 Recalculating Predicted Closing Date Enrichment with formula
7 080 Deriving budget year and month from the predicted close date Enrichment with formula
050
050 — Predictive forecast to Financial Workspace
Level 8 · Target: 000002 Data for Financial Workspace Data for financial workspace
Update Reporting Layer
1 op
#CodeDescriptionTypeSourceTarget / MethodMappings
0 010 Copying Predicted Values Insert from other dataset 000001 Predictive Data
Historical opportunities and Pipeline
060
060 — Adding closed opportunities
Level 9 · Target: 000001 Predictive Data Historical opportunities and Pipeline
Update Reporting Layer
1 op
#CodeDescriptionTypeSourceTarget / MethodMappings
0 010 Adding closed opportunities Insert from other dataset 000001 Training Data
Historical opportunities and Pipeline