newMeasureValueFilter()
Home > @gooddata/sdk-model > newMeasureValueFilter
newMeasureValueFilter() function
Creates a new measure value filter.
Signature:
export declare function newMeasureValueFilter(measureOrRef: IMeasure | ObjRefInScope | string, operator: ComparisonConditionOperator, value: number, treatNullValuesAs?: number): IMeasureValueFilter;
Parameters
Parameter | Type | Description |
---|---|---|
measureOrRef | IMeasure | ObjRefInScope | 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 | ComparisonConditionOperator | comparison or range operator to use in the filter |
value | number | the value to compare to |
treatNullValuesAs | number | (Optional) value to use instead of null values |
Returns: