# Measure

Base element for measure elements within a cube.

### Description

The measure is an abstract element that defines the basic properties of a measure element. It has two derived elements: tabular and ODA measure elements.

Measure is the quantity that you are interested in measuring, for example, unit sales of a product, or cost price of inventory items.

### See Also

## measureExpression

The BIRT expression that defines the value of the measure element.

### Description

The expression that gets evaluated and its resulting value assigned to the measure element. If the isCalculated is false, then the value of this property should be a column name. If it is true, the value of this property should be an expression for the computed measure.

### See Also

## function

The aggregation function applied to this measure.

### Choices

- sum
- average
- max
- min
- first
- last
- count
- count-distinct

### Description

This property gives out the function that user wants to apply on this measure.

### See Also

## dataType

Measure data type property.

### Description

This property gives out the data type of the measure resulting data.

### See Also

## isCalculated

Indicate whether this measure is computed by other measures.

### Description

This property indicates whether this measure is computed by other measures. True if it is calculated by other measures; otherwise false. By default, its value is FALSE.

### See Also