withMeasures()
Home > @gooddata/sdk-backend-spi > IElementsQuery > withMeasures
IElementsQuery.withMeasures() method
Sets the measures that will limit the available elements - only elements for which the measures have data will be returned.
Signature:
withMeasures(measures: IMeasure[]): IElementsQuery;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| measures | IMeasure[] | measures limiting the elements | 
Returns:
element query