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

Function thisMonth

thisMonth(dimension, config?): Filter

Creates a filter to isolate items with a date dimension value in the current calendar month.

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 in the current calendar month in the Sample ECommerce data model.

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