CalculateIdentOnFact: Boolean;
The CalculateIdentOnFact property determines whether to load data on calculating on the Fact scenario.
The property is taken into account for the model included in the metamodel calculation chain if:
Input and output variables differ in the equation.
The metamodel is calculated by the forecasting problem.
Available values of CalculateIdentOnFact:
True. On calculating metamodel the output data is loaded to the Fact scenario. The loaded data depends on the model type:
Non-forecast models (various types of smoothing, filters and so on). For the sample period a component selected by the user or a modeling series (depending on a model) is loaded. Data is not loaded for the forecasting period.
Forecasting models (ARIMA, trend, exponential smoothing, linear regression, and so on). The source series copied from the source variable is loaded for the sample period. For the forecasting period the forecasting data by the Fact scenario is loaded if it is included in the calculation.
False. Data on the Fact scenario remains unchanged.
Executing the example requires a modeling container with the MS identifier containing a metamodel with the METAMODEL identifier.
Add links to the Metabase and Ms system assemblies.
Sub UserProc;
Var
mb: IMetabase;
MetaModelObj: IMetabaseObject;
MetaModel: IMsMetaModel;
Begin
mb := MetabaseClass.Active;
// Get metamodel
MetaModelObj := mb.ItemByIdNamespace("METAMODEL", mb.GetObjectKeyById("MS")).Edit;
MetaModel := MetaModelObj As IMsMetaModel;
//Specify that the data on calculation should be loaded for the Fact scenario
MetaModel.CalculateIdentOnFact := True;
// Save changes
MetaModelObj.Save;
End Sub UserProc;
After executing the example on calculating the METAMODEL metamodel the data is loaded for the Fact scenario.
See also: