IWorkspaceMeasuresService
Home > @gooddata/sdk-backend-spi > IWorkspaceMeasuresService
IWorkspaceMeasuresService interface
Service for create, update or delete measures and querying additional measures data. If you want to query measures themselves, use catalog IWorkspaceCatalogFactory
Signature:
export interface IWorkspaceMeasuresService
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
computeKeyDrivers | (measure: IMeasure, options?: { sortDirection: "ASC" | "DESC"; }) => Promise<IMeasureKeyDrivers> | (ALPHA) Compute key drivers for a given measure. |
Methods
Method | Description |
---|---|
createMeasure(measure) | Create and save measure for the provided measure definition |
deleteMeasure(measureRef) | Delete measure with the given reference |
getMeasureExpressionTokens(ref) | Get measure expression tokens for provided measure identifier |
getMeasureReferencingObjects(measureRef) | Get all metadata objects which uses specified object (ie. object is used by these objects) by a given reference. |
updateMeasure(measure) | Update provided measure |