newMeasureValueFilter()
Home > @gooddata/sdk-model > newMeasureValueFilter
newMeasureValueFilter() function
Creates a new measure value filter.
Signature:
export declare function newMeasureValueFilter(measureOrRef: IMeasure | ObjRefInScope | LocalIdRef | string, operator: RangeConditionOperator, from: number, to: number, treatNullValuesAs?: number): IMeasureValueFilter;
Parameters
Parameter | Type | Description |
---|---|---|
measureOrRef | IMeasure | ObjRefInScope | LocalIdRef | string | instance of measure to filter, or reference of the measure object; if instance of measure is provided, then it is assumed this measure is in scope of execution and will be referenced by the filter by its local identifier |
operator | RangeConditionOperator | range operator to use in the filter |
from | number | the start of the range |
to | number | the end of the range |
treatNullValuesAs | number | (Optional) value to use instead of null values |
Returns: