Cube Object
Discussion
Use this object to change the properties of a cube. Each cube defined in a model gives users a multidimensional view of the underlying data through PowerPlay®. To create Cube objects, use the Add method of the Cubes collection.
Use the CreateMDCFile method to create the PowerCube file (.mdc). Use the CreateMDCFiles method of the Model object to create all .mdc files in the model.
Users need only log on once in a session to view any number of cubes and reports associated with their custom view.
To save changes to the properties of this object, use the Update method.
Users can publish either a data source or a package using the PublishDatasource or PublishPackage methods. When publishing a package, the data source is also be published by default. Users have the option to choose whether to overwrite the data source or package when publishing.Users can assign custom views to each cube. Custom Views contain security information.
Related Topics
These tables list related collections, methods, and properties.
Method |
Description |
---|---|
Adds a new deployment location for Copy and Activate |
|
Removes all deployment locations. |
|
Creates a PowerCube file (.mdc) based on the cube definition. |
|
Deletes the Cube object. |
|
Deploys a PowerCube to all deployment locations. |
|
Publishes the Datasource connection for a PowerCube to the IBM® Cognos® Analytics server. |
|
Publishes the Package for the PowerCube to the IBM Cognos Analytics server. |
|
Removes the custom view from the cube. |
|
Sets the deployment type for Copy and Activate. |
|
Updates the Cube object. |
Property |
Description |
---|---|
Sets or returns whether a cube or measure can drill through to a cube or report. |
|
Sets or returns an alternative data source path used by the cube. When using the AlternateQueryPath property, you must provide name of the data source and the path to the datasource. |
|
Sets or returns the alternate file name for the cube. |
|
Returns the Transformer Application object. |
|
Returns a denied value for parents of excluded children. |
|
Sets or returns whether summaries are cached for the initial PowerPlay crosstab in the cube. |
|
Sets or returns whether the cube is compressed for compact storage. |
|
Sets or returns how a cube is consolidated. |
|
Sets or returns whether the cube is created. |
|
CubeCustomViews property description. |
|
Returns a cube creation time-stamp. |
|
Sets or returns the Windows location of the PowerCube on the IBM Cognos Analytics server. |
|
Sets or returns the description of the Cube object. |
|
Sets or returns the desired partition size when auto-partitioning is enabled. |
|
Sets or returns the View object associated with a cube or custom view. |
|
Sets or returns which dimensions and views belong in a cube. |
|
Returns a collection of DrillThroughTarget objects associated with a Cube object. |
|
Sets or returns an estimate of the number of records that the cube contains before auto-partitioning. |
|
Sets or returns whether the cube is incrementally updated from the data source. |
|
Returns whether a child cube is in use or being rebuilt. |
|
Sets or returns the maximum number of times Transformer reads the data source during cube partitioning. |
|
Sets or returns the name of a PowerCube file (.mdc). |
|
Sets or returns the name of a measure to include in the Cube object. |
|
Sets or returns a descriptive title that identifies a measure on the PowerPlay dimension line. |
|
Sets or returns the name of the object. |
|
Sets or returns the current cube optimization option. |
|
Returns the parent object. |
|
Sets a case-sensitive password for the cube. |
|
Sets or returns whether a cube is processed locally or on a server. |
|
Sets or returns the Signon object used by the cube. |
|
Returns a problem status associated with the cube the last time it was created. |
|
Returns the object type. |
|
Sets or returns whether a temporary file name may be used. |
Examples
objCube = objModel.Cubes.Item(1)