Clear: Remove Data from a Cube
The clear CLI command for Essbase clears data from a cube. To use this command, you need at least Database Update permission.
Syntax
clear [-verbose] -application appname -db cubename [-option clearOption[-regionspec regionSpec]]| Option | Abbreviation | Description | 
|---|---|---|
| -verbose | -v | Optional. Show extended descriptions | 
| -application | -a | Application name | 
| -db | -d | Database (cube) name | 
| -option | -O | Optional. Keyword specifying what to clear. Default option, if omitted, is ALL_DATA. The options for block storage cubes are: 
 The options for aggregate storage cubes are: 
 | 
| -regionspec | -rs | MDX expression specifying the region to clear | 
Example
esscs clear -a ASOSamp -d Basic -O PARTIAL_DATA -rs "{([Jan],[Sale],[Cash])}" You can also clear data using the Load Data option in Cube Designer, Jobs in the Essbase web interface or REST API, or alter database DBS-NAME reset in MaxL.