---
schema_version: "1"
id: 6e79405f64d8919007e3baa1394ef1618452cc50161f27ec2db612a75c4afd63
title: Forecasts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/dpe_forecasts.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.dpe_forecasts.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 109577cc9e0179993473fcfd08ff9285b217b900e669539286a41ec73b5e9543
description: Use Forecast nodes to predict patterns for specific time periods in the future. A forecast node analyzes the past data points and their corresponding dates from the source data that you define in the Data Processing Engine definition. The forecast node then makes predictions about future values based on the historical data. For example, estimate the order quantity for the next four quarters based on the orders placed in the last five years. The Forecast node isn't available for definitions where the runtime is Data 360.
products:
  - Cross Cloud
release: "264"
---
# Forecasts

Use Forecast nodes to predict patterns for specific time periods in the future. A forecast node analyzes the past data points and their corresponding dates from the source data that you define in the Data Processing Engine definition. The forecast node then makes predictions about future values based on the historical data. For example, estimate the order quantity for the next four quarters based on the orders placed in the last five years. The Forecast node isn't available for definitions where the runtime is Data 360.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=ind.dpe_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported editions and availability for Data Processing Engine (DPE).">View supported editions</a>.</td></tr></tbody></table>

Here’s the workflow for generating forecasts using Data Processing Engine.

- Create a Data Processing Engine definition.
- To define the historical data to be used for generating the forecast, create source nodes in the definition.
- To use the historical data to make predictions and configure forecast settings, add a forecast node to the definition.
- To write the forecast results of the definition, create a writeback object node.

## Forecast Node Configuration Fields

![Fields in the forecast node configuration.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-data_processing_engine-264-0-0-production-enus/80e06924-e6c0-4b82-81cf-e99ccd77d857/data_processing_engine/images/forecast_node_config.png)

- Select source data for generating a forecast.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e94">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e97">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e94 ">Source Node (1)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e97 ">Select the source node that contains the historical data that is used for
                  generating forecasts.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e94 ">Group By Fields (2)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e97 ">
                  <p>Select fields from the source node to group rows in the source data. For
                    example, group by region.</p>
                  <p style="margin-bottom:0;">If a selected field is of the Date or DateTime type,
                    also select date- or time-based grouping for the field.</p>
                </td>

              </tr>
            </tbody>
          </table>
- Aggregate the source data.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e141">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e144">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e141 ">Function (3)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e144 ">Select a function to define the operation to be performed on the field
                  selected for aggregation. The function determines how data from the selected
                  field is combined into a single value. </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e141 ">Field (4)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e144 ">Select the field that the aggregation function is to be applied to.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e141 ">Aggregation Result Label (5)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e144 ">
                  <p>Enter a name for the column that stores the result of the aggregate
                    function (3) that’s applied to the selected field (4). For example,
                    MonthlyOrderQuantity.</p>
                  <p style="margin-bottom:0;">If necessary, add more fields to aggregate the source
                    data.</p>
                </td>

              </tr>
            </tbody>
          </table>
- Configure forecast settings.<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:50%">
              <col style="width:50%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e197">Field</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6906e200">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Date Field (6)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Select a date field from the source node to group the data. This field is
                  used to establish a time series or a chronological sequence of events used to
                  predict future values.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Forecast Period Type (7)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Select how you want the dates from the selected Date Field (6) to be
                  grouped. For example, Year-Month.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Period Start Date Name (8)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Enter a name that represents the start date of the forecast period based on
                  the selected date field (6) and forecast period type (7).</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Forecast Period Count (9)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Specify the number of periods that you want to generate the forecast for.
                  For example, if you’ve selected Year-Month as the forecast period type (7),
                  selecting 9 here generates a forecast for the next 9 months.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Exclude last period (10)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Select this option if the last period in your source has incomplete or
                  partial data. For example, exclude the last time period when forecasting by
                  month while data for the current month is still being collected so that it
                  doesn’t influence your forecast.</td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Seasonality (11)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">Select an option if periodic fluctuations happen around the same time every
                  year. For example, if sales fluctuate quarterly, select 4 if you’ve selected
                  Year-Quarter as the forecast period type (7). </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Forecast Model Type (12)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">
                  <p>Select a forecasting model. </p>
                  <ul>
                    <li>Additive uses Holt-Winters Additive method. Use this method when seasonal
                      variations are largely constant throughout the series.</li>

                    <li>Multiplicative&nbsp;uses Holt-Winters Multiplicative method. Use this method
                      when seasonal variations change proportionally to the average (level of the
                      series).</li>

                    <li>Auto&nbsp;selects the most accurate forecast method.</li>

                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e197 ">Accuracy Percent (13)</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6906e200 ">
                  <p>Select an accuracy percentage to account for errors in the forecast.
                    Accuracy percent indicates your level of uncertainty or variation in the
                    forecast results. Based on your selection, a range of values is generated for
                    the forecast result. </p>
                  <p style="margin-bottom:0;">For example, you aggregate the source data by total
                    orders and label the aggregation result as TotalOrders. Then, you select 95 as
                    the forecast accuracy percentage. The forecast result generates these columns:
                    TotalOrders_forecast, TotalOrders (Low 95), and TotalOrders (High 95). Here,
                    TotalOrders_forecast provides the mean values from the range, TotalOrders (Low
                    95) represents the lowest range values, and TotalOrders (High 95) represents
                    the highest range values.</p>
                </td>

              </tr>
            </tbody>
          </table>

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-data_processing_engine-264-0-0-production-enus/80e06924-e6c0-4b82-81cf-e99ccd77d857/images/icon_example.png)

Example A manufacturing company wants to forecast the quantity of a specific product they will need to produce in the next year. To do this, the company uses a Forecast node to analyze historical order data. The Forecast node analyzes the quantity and order date from the Order object for the last three years to predict future order amounts.