xTD

Returns period-to-date values.

Syntax

xTD ( [member ] )
ParameterDescription

xTD

Values:

ParameterValue
HTDHistory-To-Date (H-T-D)
YTDYear-To-Date
STDSeason-To-Date
PTDPeriod-To-Date
QTDQuarter-To-Date
MTDMonth-To-Date
WTDWeek-To-Date
DTDDay-To-Date

member

Member specification. Should be a member from the time dimension.

Notes

Example

QTD([Feb])

returns the set {[Jan], [Feb]}.

QTD([Feb]) is equivalent to PeriodsToDate([Year].Generations(2), [Feb]), because the dynamic-time-series member Q-T-D is defined as Generation 2 of the Year dimension.

HTD([May])

returns the set {[Jan], [Feb], [Mar], [Apr], [May]}.

HTD([May]) is equivalent to PeriodsToDate([Year].Generations(1), [May]), because the dynamic-time-series member H-T-D is defined as Generation 1 of the Year dimension.

Note:

If a dynamic-time-series member is not defined, an empty set is returned.

PTD([Feb]) 

returns an empty set, because the dynamic-time-series member P-T-D is not enabled in the outline.