Skip to main content

DatesYTD

An alias for DatesPeriodsToDate with the Level_Expression argument dynamically set to the Year level of the Member_Expression argument's Time hierarchy.

For more information on DatesPeriodsToDate, see DatesPeriodsToDate.

Syntax

DatesYTD(Member_Expression)

Input Parameters

Level_Expression
MDX reference to a Time-based Hierarchy Level.

Member_Expression
MDX reference to a member of a Time-based Level in the same hierarchy as Level_Expression. May be a static expression or a dynamic expression using currentMember().