Data Measure

A DataMeasure displays aggregated time-phased data. There are several different types of DataMeasure: DM, DMRef, DataBasedDMGenerator, and ComputedDataMeasure. The following properties are supported across all these types:

  1. @bucketization: bucketization is a required attribute on DataMeasure. Buckets will be rendered in the UI based on the bucketization type. Please note that this must match the TLV bucketization, except in the case of DAILY-bucketized TLVs.

  2. @hidden: DataMeasures can optionally be marked as hidden. These are not shown to the user, but they are available to the back end for other computed data measures.

  3. Name: The Name element captures the name of the DataMeasure. This must be unique within the TLV definition. DataMeasure names can be internationalized by defining the following pattern in module bundle:

    tlvname.dmname.label

    For example: ZBKS.MyTLV.NumberOfBooksSold.label=Books Sold

  4. DisplayName: This is a deprecated field. Prefer messages.properties for defining your display name.

  5. Description: This is an optional field, used for reference only.

We will now walk through the four data measure types: DM, DMRef, DataBasedDMGenerator and ComputedDataMeasure.