localId
Home > @gooddata/sdk-model > MeasureBuilderBase > localId
MeasureBuilderBase.localId property
Sets local identifier (localId) for the measure. LocalId can be used to reference the measure within the execution definition.
Signature:
localId: (localId?: Identifier | undefined) => this;
Remarks
Normally, builder will generate localId based on contents of the measure definition - taking all properties into account: in typical scenarios you don't have to call this function at all. The only exception where you have to provide custom local id is if your execution must contain the exact same measure twice.
For convenience, this method also accepts 'undefined', which indicates that the default local id generation logic should be used.