sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function between

between( attribute, valueA, valueB, config?): Filter

Creates a filter to isolate attribute values within or exactly matching two specified numerical boundaries.

Parameters

ParameterTypeDescription
attributeAttributeNumeric attribute to filter on
valueAnumberValue to filter from
valueBnumberValue to filter to
config?BaseFilterConfigOptional configuration for the filter

Returns

Filter

A filter instance

Example

Filter for items from the Sample ECommerce data model where the cost is greater than or equal to 100 and less than or equal to 200.

filterFactory.between(DM.Commerce.Cost, 100, 200)
Last Updated: