---
schema_version: "1"
id: 6b319f5bdc5b6db41d66394d2923dcc16d150397e0c3e57b54eacb53e7bcec43
title: Data Processing Engine Definition Customizations for Advanced Account Forecasting (Examples)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/aaf_admin_dpe_customize.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.aaf_admin_dpe_customize.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 30674d0896df67b408bf14211bb578c23cb823a2b8db71060dbceb4e23b3d8a9
description: You can clone the predefined Data Processing Engine templates and customize them according to your business needs if the predefined templates don’t meet your requirements.
products:
  - Manufacturing
release: "264"
---
# Data Processing Engine Definition Customizations for Advanced Account Forecasting (Examples)

You can clone the predefined Data Processing Engine templates and customize them according to your business needs if the predefined templates don’t meet your requirements.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

When you modify a DPE template, you also must modify the associated forecast set, and define additional dimensions or period groups according to your requirements.

When you clone and use the predefined templates as is, the generated forecast data is stored in the out-of-the-box Advanced Account Forecast Fact object. If you want to view account forecasts for additional measures, or remove any existing measures, make sure that you modify the fields in the Advanced Account Forecast Fact object, or create a custom fact object for your use.

- **[Example: Analyze Product Cost and Profit Margins with Advanced Account Forecasting and Data Processing Engine](https://help.salesforce.com/s/articleView?id=ind.aaf_customize_dpe_revenue_metrics.htm&release=264.0.0&type=5)**  
    A company wants to analyze the cost and profit margins of their products using account forecasts. However, the predefined measures available with Advanced Account Forecast Fact only help account managers view quantity and revenue-based metrics for their products from orders, opportunities, and sales agreements. Demand planners typically look at the cost of a product across accounts and also the profit margins for a specific account-product combination. Having visibility into the revenue and profit margins for future periods helps them plan their costing and discounting strategies for all accounts. In this example, we’ll see how you can add new measures for advanced account forecasts and use the Data Processing Engine to calculate the values for these custom measures.
- **[Example: Add the Location Dimension for Account Forecasts](https://help.salesforce.com/s/articleView?id=ind.aaf_admin_custom_dpe.htm&release=264.0.0&type=5)**  
    You can customize the default forecast set and out-of-the-box Data Processing Engine templates by adding additional dimensions, measures, and filters. This example shows how to add a dimension called Location and customize the out-of-the-box Generate Account Forecast Data Processing Engine definition to generate account forecasts.