measureMasterIdentifier()
Home > @gooddata/sdk-model > measureMasterIdentifier
measureMasterIdentifier() function
Gets identifier of master measure for the provided derived measure (PoP measure or Previous Period measure).
Signature:
export declare function measureMasterIdentifier(measure: IMeasure): string | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
measure | IMeasure | derived measure |
Returns:
string | undefined
master measure identifier, undefined if input measure not derived or does not specify master
Remarks
If the measure is not derived or is derived and does not specify master measure id, then undefined is returned.