Set up demand forecasting

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3

This topic describes the setup tasks that you must perform before you can use demand forecasting. These tasks include setting up the following data and parameters:

  • Select the items to include in the demand forecast.

  • Assign items to the demand forecast of a specific company.

  • Define the level of detail to use in the demand forecast.

  • Set up the parameters to use in demand forecasting.

  • Optional: Modify the default parameters of the forecast algorithm.

Prerequisites

The following table shows the prerequisites that must be in place before you start.

Category

Prerequisite

Data

Intercompany planning groups are configured.

Select the items to include in the demand forecast

Demand forecasting uses the item allocation key to calculate forecast at the aggregated item level. Item allocation keys make it easier to manage multiple items, and manage the grouping of items that share the same forecast setup. To include an item in a demand forecast, you must assign it to an item allocation key. For example, an item allocation key is created for TVs, and the different model numbers and sizes that are sold and forecasted are assigned to this item allocation key.

To assign an item to an item allocation key, follow these steps:

  1. Click Inventory management > Setup > Forecast > Item allocation keys.

  2. Create or select an item allocation key. For more information, see Item allocation keys (form).

  3. Click Assign items.

  4. In the Available items list, select the item that you want to assign, and then use the arrow buttons to move the item to Assigned items. An item can be assigned to only one item allocation key. When an item has been assigned, it is no longer available.

  5. Repeat these steps for all items that you want to include in the demand forecast.

Note

During demand forecasting, the item allocation percentages that assign a part of an aggregate forecast to individual items are not used. Item allocation percentages do not affect the demand forecast.

Assign items to the demand forecast of a specific company

Demand forecast is calculated for all companies that are part of an intercompany planning group. Demand forecast is calculated, by default, for all items that are assigned to all item allocation keys and for all companies. Therefore, to specify which item allocation keys to forecast per company, you must assign the item allocation keys to the company. You do this in the setup of the intercompany planning group that the company is a member of.

To assign an item allocation key to a member of an intercompany planning group, follow these steps:

  1. Click Master planning > Setup > Intercompany planning groups.

  2. Select the intercompany planning group and the intercompany planning group member to which you want to assign item allocation keys.

  3. Click Item allocation keys.

  4. In the Unassigned item allocation keys list, select the key that you want assign, and then use the arrow buttons to move the key to Assigned item allocation keys.

  5. Repeat these steps for all intercompany planning groups for which you want to assign item allocation keys.

Define the level of detail to use in the demand forecast

Use forecast dimensions to specify the level of detail for which a baseline forecast is generated. The forecast dimensions for item allocation key, company, and site are always used by default. In addition, you can assign forecast dimensions, such as warehouse or customer account, to create a greater level of detail in the demand forecast. Defining forecast dimensions is part of the initial setup for demand forecasting. However, you can modify the forecast dimensions at any time and then regenerate a baseline forecast to apply them.

To assign forecast dimensions, follow these steps:

  1. Click Master planning > Setup > Demand forecasting > Demand forecasting parameters.

  2. Click Forecast dimensions.

  3. In the Available forecast dimensions list, select the dimension that you want to assign, and then use the arrow buttons to move the dimension to Assigned forecast dimensions.

Set up the parameters to use in demand forecasting

Select the parameters to apply when baseline forecasts are generated. The parameter setup is global and applies for all companies that are members of the specified intercompany planning group.

  1. Click Master planning > Setup > Demand forecasting > Demand forecasting parameters.

  2. In the Demand forecast unit field, select the unit to use for forecast quantities. This field is required because demand forecasts are generated based on quantities of items. Also, make sure that there is a conversion rule defined for the forecast unit and the item unit. For more information, see Unit conversions (form).

  3. In the Excel demand forecast file path field, enter the file path location that is used to save the Excel demand forecast file.

  4. In the Include these historical transaction types to generate the statistical baseline forecast field group, select the types of historical transactions to include when the baseline forecast is calculated. For example, select the Production line check box to calculate the dependent demand for BOM line requirements. The items on lower BOM levels must be assigned to an item allocation key to be included in the forecast generation.

    If you do not select any transaction types, there is no history with which to calculate the demand forecast.

  5. On the Forecast algorithm parameters FastTab, in the Forecast generation strategy field, select one of the following options. This field is required.

    Option

    Description

    SSAS time series forecasting methods

    Use the Microsoft SQL Server Analysis Services Time Series algorithm to calculate a statistical baseline forecast. For more information about Microsoft SQL Server Analysis Services, see Microsoft Time Series Technical Reference. For more information about using cubes in Microsoft Dynamics AX, see Analytics in Microsoft Dynamics AX.

    Copy over historical demand

    Use historical demand data to calculate a baseline forecast. This option does not use the Microsoft SQL Server Analysis Services Time Series algorithm.

  6. If you select the SSAS time series forecasting methods option in the Forecast generation strategy field, you must select the Microsoft SQL Server Analysis Services cubes in the Demand forecast cube and Demand forecast accuracy cube fields. These cubes are used to analyze the historical demand transaction data and generate the statistical baseline forecast.

  7. Select the Do not allow gaps in historical data check box to fill any gaps in the historical data with 0 (zero) before the data is passed to the SQL Server Analysis Services. Gaps are forecast buckets that do not contain historical data. For example, a month during which there are no sales for a specific product. For better system performance, clear this check box.

  8. On the Item allocation keys tab, you can define demand forecasting parameters that are specific to a particular item allocation key. For example, for an item allocation key that is created for TVs, you can forecast only sales demand.

Optional: Modify the default parameters of the forecast algorithm

In the Demand forecasting parameters form, if you select the SSAS time series forecasting methods option in the Forecast generation strategy field, statistical baseline forecasts are calculated by using the forecast algorithm parameters that are available as standard functionality in Microsoft SQL Server Analysis Services. However, you can modify the default parameter setup to align it with business realities and company objectives. For example, you can add or remove parameters that are used in the forecast algorithm, and you can modify the default values of the parameters.

Warning

This task is appropriate for users who have knowledge about statistical forecasting and SQL Server Analysis Services time series algorithms.

To configure the default parameters for the forecast algorithm, follow these steps:

  1. Click Master planning > Setup > Demand forecasting > Forecasting algorithm parameters.

  2. Use the Add and Remove buttons to add and remove parameters.

  3. In the Value field, enter a new value for a parameter.

  4. If you want to return to the default settings, use the Restore button.

Note

You can override the settings in the following locations:

  • Demand forecasting parameters form > Forecast algorithm parameters FastTab.

  • Demand forecasting parameters form > Item allocation keys > Forecast algorithm parameters FastTab.

Next step

After you set up demand forecasting, you can create a baseline forecast. For more information, see Create a baseline forecast.

Create a baseline forecast

View a demand forecast in Excel

Adjust a demand forecast in Excel

Import a demand forecast to Microsoft Dynamics AX

Calculate past forecast accuracy

Remove outliers from historical transaction data when calculating a demand forecast

Technical information for system administrators

If you don't have access to the pages that are used to complete this task, contact your system administrator and provide the information that is shown in the following table.

Category

Prerequisite

Configuration keys

Click System administration > Setup > Licensing > License configuration. Expand the Trade license key, expand the Inventory forecast configuration key, and then select the Demand forecasting (ReqDemandPlanning) configuration key.

Security roles

  • System administrator – set up the Microsoft SQL Server Analysis Services cubes

  • Production planner – set up demand forecasting

See also

Business process: demand forecasting

Item allocation keys (form)

Unit conversions (form)