# Function dateFrom
dateFrom(
level
,from
):Filter
Creates a filter to isolate date values starting from and including the given date and level.
# Parameters
Parameter | Type | Description |
---|---|---|
level | LevelAttribute | Date LevelAttribute to filter on |
from | string | Date | Date or string representing the value to filter from |
# Returns
A filter instance
# Example
Filter for items in the Sample ECommerce data model where the date is not before the year 2010.
filterFactory.dateFrom(DM.Commerce.Date.Years, '2010-01')