newMeasureValueFilterWithOptions()
Home > @gooddata/sdk-model > newMeasureValueFilterWithOptions
newMeasureValueFilterWithOptions() function
Creates a new measure value filter with options object.
Signature:
export declare function newMeasureValueFilterWithOptions(measureOrRef: IMeasure | ObjRefInScope | string, options: IMeasureValueFilterOptions): 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 |
|
options |
options object containing operator, value(s), and optional dimensionality |
Returns:
Remarks
This factory function provides a cleaner API for creating measure value filters with optional dimensionality support.