Skip to content

cube.wipe ​

Wipes the data at a selection of intersections in a cube.

js
cube.wipe(cubeName, ...elements)

Parameters ​

ParameterTypeDescription
cubeNamestringThe cube's name.
elementsstringOne element per dimension, in the cube's dimension order. Pass "" to wipe every element of that dimension.

Returns ​

string

An 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");