Returns: A set.
If you omit this parameter, the function uses Time.CurrentMember by default.
Use the WTD function to return a set of members of the Time hierarchy from the same week, up to and including a particular member. For example, you might use the function to return the set of days in the week up to and including December 31, or the set of hours in the current week up to and including the current hour.
Refer to the MTD, QTD, and YTD functions for examples of functions similar to WTD.
The WTD, MTD, QTD, and YTD functions are equivalent to the PeriodsToDate function with a level specified for the LevelExpression parameter. WTD specifies Time.Week, MTD specifies Time.Month, and so on.