createMeasure()
Home > @gooddata/sdk-backend-spi > IWorkspaceMeasuresService > createMeasure
IWorkspaceMeasuresService.createMeasure() method
Create and save measure for the provided measure definition
Signature:
createMeasure(measure: IMeasureMetadataObjectDefinition): Promise<IMeasureMetadataObject>;
Parameters
Parameter | Type | Description |
---|---|---|
measure | IMeasureMetadataObjectDefinition | measure definition |
Returns:
Promise<IMeasureMetadataObject>
promise of created measure