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

Function today

today(dimension, config?): Filter

Creates a filter to isolate items with a date dimension value of the current date.

Parameters

ParameterTypeDescription
dimensionDateDimensiondate dimension to filter
config?BaseFilterConfigOptional configuration for the filter

Returns

Filter

A filter instance

Example

Filter for items where the date is today in the Sample ECommerce data model.

filterFactory.today(DM.Commerce.Date)
Last Updated: