Eclipse BIRT Report Object Model (ROM)

Cube Element

# Element Overview

Base element for cube elements within a report.

### Details

Display Name: | Cube
Since: | 2.2
XML Element: | `None`
Extends: | ReportElement
Extendable: | No
Abstract: | Yes
Name Space: | None
Name Requirement: | Required
Allows User Properties: | Yes
Has Style: | No

### Property Summary

defaultMeasureGroup
  Name of the default measure group applied to this cube element.
filter
  Filter criteria to apply to query result in the cube element.

### Inherited Properties

comments, customXml, displayName, displayNameID, eventHandlerClass, extends, name, newHandlerOnEachEvent, propertyMasks, userProperties, viewAction

### Description

The cube is an abstract element that defines the basic properties of a OLAP cube element. The derived elements, tabular and ODA cube elements, provide dimension and measure group contents that are defined in this cube itself.

# Property Detail

## defaultMeasureGroup Property

Name of the default measure group applied to this cube element.

### Details

Type: | MeasureGroup Reference
Since: | 2.2
Required: | No
Display Name: | Default measure group
JavaScript Type: |
Default Value: | None
Inherited: | Yes
Runtime Settable: | No
Property Sheet Visibility: | Visible
Property Sheet Group: | Top

### Description

The cube element can define multiple measure group element. This property specified the default one to be made query and rendered. If it is not set or given the value of a non existing measure group, the first measure group element is read as the default one if existing.

## filter Property

Filter criteria to apply to query result in the cube element.

### Details

Type: | List of FilterCondition Structures
Since: | 2.2
Required: | No
Display Name: | Filter conditions
JavaScript Type: |
Default Value: | None
Inherited: | Yes
Runtime Settable: | No
Property Sheet Visibility: | Hidden
Property Sheet Group: | Top

### Description

The filter property specifies filter criteria to apply to each row in the data set. The filter can contain BIRT expressions (in JavaScript.) If you want the database to do the filtering, put the filter criteria in the WHERE clause of your query.