Eclipse BIRT Report Object Model (ROM)

Measure Element

Element Overview

Details

Display Name: Measure
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

dataType
function
isCalculated
measureExpression

Inherited Properties

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

Property Detail

dataType Property

Details

Type: choice (columnDataType)
Since: 2.2
Required: No
Display Name: Data Type
JavaScript Type:
Default Value: decimal
Inherited: Yes
Runtime Settable: No
Property Sheet Visibility: Visible
Property Sheet Group: Top

Choices

NameDisplay Name ValueDescription
any Any any
integer Integer integer
string String string
date-time Date Time date-time
decimal Decimal decimal
float Float float
boolean Boolean boolean
date Date date
time Time time


function Property

Details

Type: choice (aggregationFunction)
Since: 2.2
Required: No
Display Name: Function
JavaScript Type:
Default Value: sum
Inherited: Yes
Runtime Settable: No
Property Sheet Visibility: Visible
Property Sheet Group: Top

Choices

NameDisplay Name ValueDescription
sum SUM sum
count COUNT count
min MIN min
max MAX max
average AVERAGE average
weighted-avg WEIGHTEDAVG weighted-avg
stddev STDDEV stddev
first FIRST first
last LAST last
mode MODE mode
moving-ave MOVINGAVE moving-ave
median MEDIAN median
variance VARIANCE variance
running-sum RUNNINGSUM running-sum
irr IRR irr
mirr MIRR mirr
npv NPV npv
running-npv RUNNINGNPV running-npv
count-distinct COUNTDISTINCT count-distinct
running-count RUNNINGCOUNT running-count
is-top-n IS-TOP-N is-top-n
is-bottom-n IS-BOTTOM-N is-bottom-n
is-top-n-percent IS-TOP-N-PERCENT is-top-n-percent
is-bottom-n-percent IS-BOTTOM-N-PERCENT is-bottom-n-percent
percent-rank PERCENT-RANK percent-rank
percentile PERCENTILE percentile
quartile QUARTILE quartile
percent-sum PERCENT-SUM percent-sum
rank RANK rank


isCalculated Property

Details

Type: boolean
Since: 2.2
Required: No
Display Name: Is Calculated
JavaScript Type:
Default Value: false
Inherited: Yes
Runtime Settable: No
Property Sheet Visibility: Visible
Property Sheet Group: Top

measureExpression Property

Details

Type: expression
Context:
Expression Type: None
Since: 2.2
Required: No
Display Name: Measure Expression
JavaScript Type:
Default Value: None
Inherited: Yes
Runtime Settable: No
Property Sheet Visibility: Visible
Property Sheet Group: Top