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

Function greaterThan

greaterThan( attribute, value, config?): Filter

Creates a filter to isolate attribute values strictly greater than a specified number.

Parameters

ParameterTypeDescription
attributeAttributeNumeric attribute to filter on
valuenumberValue to filter by
config?BaseFilterConfigOptional configuration for the filter

Returns

Filter

A filter instance

Example

Filter for items where the cost is greater than 100 from the Sample ECommerce data model.

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