dtLastDayOfWeekOfYear (MDX+)
Returns the member matching the last day of the week of the year (e.g. last Saturday), null if missing.
Parameters
Name | Type | Cardinality | Default value |
time member | set-member-expression | one | |
day of week [1-7] | numeric-expression | one |
Return
member|set-members
Description
This functions returns the member matching the last day of the week of the year.
If the member is missing it will return NULL.
dtLastDayOfWeekOfYear( [Calendar].[Calendar].[Day].[30 Nov 2016], 2 ) will return the last Tuesday of the year (i.e., [Time].[Calendar].[Day].[27 Dec 2016]).
When applied to a set it will return a set that is the result of applying this function on each member
of the input set. When the resulting member is missing it will be ignored.
See Also
dtAsOf dtAsOfToday dtNextDay dtNextWeek dtNextMonth dtNextQuarter dtNextYear dtPreviousDay dtPreviousWeek dtPreviousMonth dtPreviousQuarter dtPreviousYear dtPlusDays dtPlusWeeks dtPlusMonths dtPlusQuarters dtPlusYears dtMinusDays dtMinusWeeks dtMinusMonths dtMinusQuarters dtMinusYears dtFirstDayOfWeekOfMonth dtFirstDayOfWeekOfQuarter dtFirstDayOfWeekOfYear dtLastDayOfWeekOfMonth dtLastDayOfWeekOfQuarter dtLastDayOfWeekOfYear dtNthDayOfWeekOfMonth dtNthDayOfWeekOfQuarter dtNthDayOfWeekOfYear dtDatesWeek dtDatesWeekend dtDatesWorkweek dtDatesWtd dtDatesMtd dtDatesQtd dtDatesYtd dtDatesItd dtDatesWfd dtDatesMfd dtDatesQfd dtDatesYfd dtWithDayOfWeek dtWithDayOfMonth dtWithDayOfYear dtWithMonthOfYear dtWithYear dtWithTime
Examples
Special Examples (errors, null, ...)
Since Version
6.0
XMLA Properties
Find here the value of the XMLA properties when not specified otherwise.