insightMeasures()
Home > @gooddata/sdk-model > insightMeasures
insightMeasures() function
Gets all measures used in the provided insight.
Signature:
export declare function insightMeasures(insight: IInsightDefinition, measurePredicate?: MeasurePredicate): IMeasure[];
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight to work with |
measurePredicate | MeasurePredicate | (Optional) predicate to select measures satisfying some conditions |
Returns:
IMeasure[]
empty if none