Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Note
This function is discouraged for use in visual calculations as it likely returns meaningless results.
Returns all primary tagged columns and all time related columns for last date of week, in the current context.
Note
Week functions only work with calendar based time intelligence.
Syntax
ENDOFWEEK(<calendar>)
Parameters
| Term | Definition |
|---|---|
calendar |
A calendar reference |
Return value
A table that contains all primary tagged columns and all time related columns for end of week, in the current context.
Remarks
Constraints on Boolean expressions are described in the topic, CALCULATE function.
-
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Example for calendar based time intelligence
The following sample formula returns tagged primary columns that corresponds to the end of the week, for the fiscal calendar.
= ENDOFWEEK(FiscalCalendar)