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

Function members

members( attribute, members, config?): Filter

Creates a filter to isolate attribute values that match any of the specified strings.

Matching is case sensitive.

Parameters

ParameterTypeDescription
attributeAttributeAttribute to filter on
membersstring[]Array of member values to filter by
config?MembersFilterConfigOptional configuration for the filter

Returns

Filter

A filter instance

Example

Filter for items where the condition is 'Used' or 'Refurbished' from the Sample ECommerce data model.

filterFactory.members(DM.Commerce.Condition, ['Used', 'Refurbished'])
Last Updated: