cube.wipe
Wipes the data at a selection of intersections in a cube.
js
cube.wipe(cubeName, ...elements)Parameters
| Parameter | Type | Description |
|---|---|---|
cubeName | string | The cube's name. |
elements | string | One element per dimension, in the cube's dimension order. Pass "" to wipe every element of that dimension. |
Returns
stringAn empty string when it succeeds, or an error message when it fails.
Examples
js
// Wipe all Budget data from the cube
cube.wipe("General Ledger", "Budget", "", "", "", "", "Amount");