YTD
Last updated
Last updated
The YTD function can be used to select data from a given measure, for the current year. If an offset parameter is provided, previous years will also be returned. It should be used in conjunction with an aggregate function like SUM or AVERAGE.
measure – The measure for which data has to be fetched. Required.
offset - Number of preceding years for which data has to be fetched. Optional.
Range of data.