CubeCreate
CubeCreate creates a cube from specified dimensions. The order of dimensions specified in the function will be the order of dimensions in the cube definition. After execution, CubeCreate automatically saves the resulting .cub file to disk.
This function is valid in TM1® TurboIntegrator processes only.
Note: When you create a cube using the REST API, transaction logging is enabled
on the new cube. The Planning Analytics Workspace modeling
workbench uses the REST API for all interactions with TM1. However, if you create a cube with the CubeCreate
TurboIntegrator function, transaction logging
is not enabled. To enable transaction logging, use the CubeSetLogChanges TurboIntegrator function.
Syntax
CubeCreate(Cube, d1, d2 [,...dn]);
|
Argument |
Description |
|---|---|
|
Cube |
The name you want to assign to the cube. |
|
d1,...dn |
The names of dimensions that comprise the cube. You must specify at least two, but no more than 256, dimensions. |
Example
CubeCreate('y2ksales', 'Actvsbud', 'Region', 'Model','Account1', 'Month');
This example creates a cube named y2ksales using the dimensions Actvsbud, Region, Model, Account1, and Month.