sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Interface BaseMeasure

Common interface of a Base measure, which is aggregation over Attribute.

Methods

format

format(format): Measure

Formats the measure according to the given format definition.

Parameters

ParameterTypeDescription
formatstringFormat string

Returns

Measure

A formatted instance of this measure


getFormat

getFormat(): string | undefined

Gets the formatting string of this measure.

Returns

string | undefined

Formatting string


getSort

getSort(): Sort

Gets the sort definition of this measure.

Returns

Sort


sort

sort(sort): Measure

Sorts the measure by the given sort definition.

Parameters

ParameterTypeDescription
sortSortSort definition

Returns

Measure

A sorted instance of measure

Properties

aggregation

readonly aggregation: string

Aggregation type


attribute

readonly attribute: Attribute

Aggregated attribute


name

name: string

Identity name of the element.


title

title: string

Label displayed in UI.


type

readonly type: string

Element type

Last Updated: