To work with the tool in Foresight Analytics Platform 10, use the new interface.

In this article:

Adding, Moving and Deleting Calculation Algorithm

Setting Up Properties of Selected Calculation Algorithm

General Settings of Calculation Algorithm

Setting Up Link of Calculation Algorithm and Data Entry Form Parameters

Setting Up Data Entry Forms Binding to Algorithm

Example of Algorithm Use

Editing Previously Configured Forms

Setting Up Tab Table

Selecting Calculation Algorithms

To calculate and control table area data, use created calculation algorithms.

NOTE. Selecting a calculation algorithm is available only if the Calculation Algorithms extension is installed.

To select calculation algorithms, use the Calculation Algorithms page of the Table Area Wizard dialog box:

Calculation algorithms

Elements of the Calculation Algorithms page

To determine a calculation algorithm:

  1. Add a ready calculation algorithm.

  2. Set up properties of the selected algorithm:

TIP. To set up displayed columns in tables on the Properties of Selected Algorithm and Binding to Data Entry Forms tabs, see the Setting Up Tab Table section of this article.

After selecting calculation algorithms, finish table area creation by clicking the Finish button.

NOTE. If any errors occur on algorithm calculation, algorithm calculation is stopped. The changed data will not be saved to data consumers.

When working with a ready data entry form, the formula used for cell calculation will be displayed in the formula bar.

TIP. To speed up calculation of the selected algorithms, see the How to Speed Up Algorithm Calculation? section.

After the table area is set up, follow the step if required:

Adding, Moving and Deleting Calculation Algorithm

Select the ready calculation algorithm in the Calculation Algorithms area and move it to the Selected Calculation Algorithms area using the Add button or drag it.

Depending on the calculation execution option, move the algorithm to the tab:

NOTE. To run data recalculation, select the Combine Queries on Calculation checkbox on the General tab of the Parameters dialog box. Recalculation is executed if modified data is input data for another table area, which data is calculated using the algorithm executed on modification. If the checkbox is deselected, data is recalculated only in one table area on the current data entry form sheet. Other table areas will not be recalculated.

To set up order of calculation algorithms calculation, use the Move Up and Move Down buttons on the tab toolbar.

To delete the selected calculation algorithm:

Setting Up Properties of Selected Calculation Algorithm

To set up properties of the selected calculation algorithm, select it in the Selected Calculation Algorithms area. Various settings are available depending on the algorithm type. The algorithm type is determined automatically. The type of calculation algorithm is specified in the Selected Calculation Algorithms area table in the Type column:

General Settings of Calculation Algorithm

Determine general settings of calculation algorithm in the Selected Calculation Algorithms area:

NOTE. Selection expansion is not applied if a cube with configured dimension control.

Setting Up Link of Calculation Algorithm and Data Entry Form Parameters

Set up link between calculation algorithm parameters and data entry form parameters on the Properties of Selected Algorithm tab, by selecting:

NOTE. Dictionary selection schema has a greater priority than selection type.

NOTE. Links can be set up only via the Selection and Hierarchy algorithm parameters.

If calculation algorithm and data entry form are built on the same source, the algorithm parameters will be automatically linked to the data entry form parameters. Default values:

Setting Up Data Entry Forms Binding to Algorithm

Link data entry forms to the algorithm to drill down formulas used in calculation algorithm, by using the Binding to Data Entry Forms tab:

NOTE. The Binding to Data Entry Forms tab is not active for the Control algorithm type. If calculation algorithm is of the Calculation/Control type, the tab displays only calculation block and aggregation block consumers.

To do this, specify:

NOTE. Make sure that the Load Only Active Sheet checkbox is selected for bound multisheet data entry form to speed up form opening.

The bound form opens on viewing formula description. If source form parameters transfer is not set up for all bound form parameters, the dialog box to enter parameter values opens on opening the bound form.

Example of Algorithm Use

Editing Previously Configured Forms

When editing data entry forms created in previous versions of Foresight Analytics Platform, calculation algorithms added to control entered data will be disabled. When opening such a data entry form for edit, the message is displayed indicating that the Control type calculations are disabled and that changes should be made in the algorithm or that algorithm connection settings in data entry forms must be changed.

Setting Up Tab Table

The number of displayed columns and the order of their position in table can be set up:

To change the number of displayed columns:

To reorder columns, select the column and use the Move Up and Move Down buttons.

See also:

Getting Started with the Interactive Data Entry Forms in the Web Application | Building Data Entry Form | Working with Ready Data Entry Form