Wtd

Analysis Services

Analysis Services

Wtd

Returns a set of members from the Week level in a Time dimension starting with the first period and ending with a specified member.

Syntax

Wtd([«Member»])

Remarks

The Wtd function is a shortcut function to the PeriodsToDate function that defines that function's «Level» argument to be Week. If no member is specified, then the default is Time.CurrentMember.

Wtd(«Member») is equivalent to PeriodsToDate(Week, «Member»).

Example

The following example returns the days from the beginning of the week to the current day:

Wtd(Day)
 

See Also

PeriodsToDate