::cube
Use ::cube to create a cube or update its captions. Put the cube name in column B of the header row, then list its existing dimensions in column A, one per row, in cube order.
A cube needs 2 to 256 dimensions. TeamOne sets the last one as the cube’s measures dimension. For an existing cube, list its current dimensions in the same order to update the caption.
Options
-caption— Set the default cube caption. Use-caption:enor-caption:frfor localized captions. Each locale must exist in the}Culturesdimension.-recreate— Delete and create the cube again, for example when changing its dimensions in a development environment. Leave column B blank to enable it.
Recreating a cube deletes its data
Use -recreate only when you intend to replace the existing cube and have accounted for the data you need to keep.
Example
This definition creates an XR cube with an Exchange Rates caption. Use the dimension names from your model.
| Column A | Column B |
|---|---|
::cube | XR |
-caption | Exchange Rates |
Period | |
Currency | |
Exchange Rate Measures |

For an existing cube, open its menu on the Model tab and choose Cube definition. See the cube example spreadsheet.
After you run the definition, you can add views, rules, or cube security.
