Importing Custom Events

If you have your own set of custom eventsan incident that disrupts the normal flow of any process that generates the time series. Examples of events are holidays, retail promotions, and natural disasters. to add to the project, you can add an event definition table to your project. Follow these steps to import your custom events.

If a custom event definition table is already added, these steps are used to replace it. The data set that is used to replace the custom events must include the same event definitions. More events can be added in the replacement, but existing custom events cannot be removed.

Note: If the data set with custom events includes an event with the same name as one that you have already added from predefined events, the data set cannot be added.

You can also add custom events from a Forecast Server project. You need to import the data set that contains the event definitions. For more information, see Save Events to a SAS Data Set in the SAS Forecast Studio: User’s Guide.

  1. In the left pane of the Data tab, click the New Data Source icon and select Events.

    The Browse Data window is displayed.

  2. Locate the data source with the custom events to use with this project. Select the data source and click OK to load it.

    When the data source is successfully loaded, the new events are listed in the middle pane.

CAUTION

Certain names are reserved and cannot be used for events. If the imported event table has any event names that matches the dependent variable name or any of the following reserved names, the event table is imported without these events. The following is a list of reserved names that you cannot use for events.

y
_linear_
_quadratic_
_cubic_
_inverse_
_seasonal_

By default, each custom defined event that you add is set to Do not use. To change settings for custom events, follow the steps in Changing Event Usage. You can change these settings for specific models in a pipeline. For more information, see Changing Event Usage in Modeling Nodes.

You can click the New Data Source icon to replace the custom events data set. The new data set must contain at least the same event definitions as the original custom events data set. More event definitions can be added. If you update the original event data set, use the Refresh icon instead to update the events.

See Also

Last updated: March 16, 2026