Calculate Cubes in Cube Designer
You can create member formulas, create calculation scripts, and execute calculation jobs in cube designer.
Create and Validate Member Formulas in Cube Designer
In the Cube Designer Formula Editor, you can write formulas for specific outline members. You can construct member formulas from operators, functions, dimension names, member names, substitution variables, and numeric constants.
- The Cube Designer Formula Editor applies to both aggregate storage and block storage cubes. In aggregate storage, the functions will be MDX functions. In block storage, the functions will be calc script functions.
- Validation works against existing block storage cubes in Essbase (validation is disabled for aggregate storage cubes). It does not detect application workbook changes that have not been applied to the cube.
- Member selection works with existing cubes only.
Formula Editor provides a formula editing pane in which you can enter a formula. You can use the Tab and arrow keys to move focus within Formula Editor. You can also use a point-and-click approach to select and insert formula components into the formula editing pane. A member selection tree helps you place the correct member names into the formula.

Create and Validate Calculation Scripts in Cube Designer
In the cube designer Calculation Script Editor, you can write calculation scripts for specific block storage cubes. Calculation scripts specify how cubes are calculated and, therefore, override outline-defined cube consolidations.
See Developing Calculation Scripts for Block Storage Databases.
- The cube designer Calculation Script Editor applies only to block storage cubes.
- If the cube of the currently open application workbook exists on the server and the communication to the server works, you are in online mode. Otherwise, you are in offline mode. When you are in offline mode, the member tree is disabled.
- If you are editing a script locally, and a script with the same name exists on the server, the Save changes to server and worksheet check box is enabled. If you are editing a remote script (one that exists only on the server), the check box is disabled.
- Validation works against existing cubes in Essbase. It does not detect application workbook changes that have not been applied to the cube.
The Calculation Script Editor provides a calculation script-editing pane in which you can enter a script. You can use the Tab and arrow keys to move focus within Calculation Script Editor. A member selection tree helps you place the correct member names into the script.

- Open the application workbook for the cube you want to modify.
- If a calculation worksheet has been defined, select it. If not, create one. See Work with Calculation Worksheets in Cube Designer.
- On the cube designer ribbon, click Calculation Editors
.
- Select Calculation script editor from the drop-down menu.
- Enter your login credentials for Essbase, if prompted to do so.
- In the Calculation Script Editor, create the calculation
script.
- Use the keyboard to enter text. Enclose in quotation marks any member names containing blanks or special characters.
- Double-click on a member in the member selection tree to have that member pasted into the editor. To search for a specific member in the tree, enter the member name in the Member Tree text box, and click Search.
- Double-click on a function to have that function syntax pasted into the editor.
- Click Validate to check calculation script syntax. If the validation fails, edit the script and try again. Be sure to check the error message for guidance.
- If you want to synchronize changes to the server and the application workbook, you
can check Save changes to server and worksheet prior to
saving the script.
Note:
This option works in online mode. - Click Save.
- Optional: Click Run to run the script.
Calculate Data in Cube Designer
Calculation scripts specify how cubes are calculated and, therefore, override outline-defined cube consolidations. For example, you can calculate cube subsets or copy data values between members. See Developing Calculation Scripts for Block Storage Databases.
During cube development, it is common to recalculate a cube many times when validating the data and formulas. The calculation script files used in the calculation process must be stored in Essbase. If a Calc worksheet is included in the application workbook, then the calculation script files are automatically generated during the cube build process. Individual calculation script files can also be uploaded to Essbase. See Work with Files and Artifacts.