Skip to content

Commit f1103d2

Browse files
committed
UUF - previousyear, time-intelligence
1 parent f55296c commit f1103d2

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

query-languages/dax/previousyear-function-dax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ title: "PREVIOUSYEAR function (DAX)"
66

77
[!INCLUDE[applies-to-measures-columns-tables-visual-calculations-discouraged](includes/applies-to-measures-columns-tables-visual-calculations-discouraged.md)]
88

9-
For date column input, Returns a table that contains a column of all dates from the previous year, given the last date in the `dates` column, in the current context.
9+
For date column input, returns a table that contains a column of all dates from the previous year, based on the first date in the `dates` column, in the current context.
1010

11-
For calendar input, returns all dates from the previous year, based on the first date in the current context. The table contains all primary tagged columns and all time related columns
11+
For calendar input, returns all dates from the previous year, based on the first date in the current context. The table contains all primary tagged columns and all time related columns.
1212

1313
## Syntax
1414

@@ -30,7 +30,7 @@ For calendar input, a table that contains all primary tagged columns and all tim
3030

3131
## Remarks
3232

33-
- This function returns all dates from the previous year given the latest date in the input parameter. For example, if the latest date in the `dates` argument refers to the year 2009, then this function returns all dates for the year of 2008, up to the specified `year_end_date`.
33+
- This function returns all dates from the previous year based on the first date in the input parameter. For example, if the first date in the `dates` argument refers to the year 2009, then this function returns all dates for the year of 2008, up to the specified `year_end_date`.
3434

3535
- The `dates` argument can be any of the following:
3636
- A reference to a date/time column.

query-languages/dax/time-intelligence-functions-dax.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Data Analysis Expressions (DAX) includes time-intelligence functions that enable
2727
|[ENDOFYEAR](endofyear-function-dax.md) | Returns the last date of the year in the current context for the specified column of dates. |
2828
|[FIRSTDATE](firstdate-function-dax.md) | Returns the first date in the current context for the specified column of dates. |
2929
|[LASTDATE](lastdate-function-dax.md) | Returns the last date in the current context for the specified column of dates. |
30-
|[NEXTDAY](nextday-function-dax.md) | Returns a table that contains a column of all dates from the next day, based on the first date specified in the dates column in the current context. |
31-
|[NEXTWEEK](nextweek-function-dax.md) | Returns a table that contains a column of all dates from the next week, based on the first date in the dates column in the current context. |
32-
|[NEXTMONTH](nextmonth-function-dax.md) | Returns a table that contains a column of all dates from the next month, based on the first date in the dates column in the current context. |
33-
|[NEXTQUARTER](nextquarter-function-dax.md) | Returns a table that contains a column of all dates in the next quarter, based on the first date specified in the dates column, in the current context. |
34-
|[NEXTYEAR](nextyear-function-dax.md) | Returns a table that contains a column of all dates in the next year, based on the first date in the dates column, in the current context. |
30+
|[NEXTDAY](nextday-function-dax.md) | Returns a table that contains a column of all dates from the next day, based on the last date specified in the dates column in the current context. |
31+
|[NEXTWEEK](nextweek-function-dax.md) | Returns a table that contains a column of all dates from the next week, based on the last date in the dates column in the current context. |
32+
|[NEXTMONTH](nextmonth-function-dax.md) | Returns a table that contains a column of all dates from the next month, based on the last date in the dates column in the current context. |
33+
|[NEXTQUARTER](nextquarter-function-dax.md) | Returns a table that contains a column of all dates in the next quarter, based on the last date specified in the dates column, in the current context. |
34+
|[NEXTYEAR](nextyear-function-dax.md) | Returns a table that contains a column of all dates in the next year, based on the last date in the dates column, in the current context. |
3535
|[OPENINGBALANCEWEEK](openingbalanceweek-function-dax.md) | Evaluates the expression at the first date of the week in the current context. |
3636
|[OPENINGBALANCEMONTH](openingbalancemonth-function-dax.md) | Evaluates the expression at the first date of the month in the current context. |
3737
|[OPENINGBALANCEQUARTER](openingbalancequarter-function-dax.md) | Evaluates the expression at the first date of the quarter, in the current context. |
@@ -41,7 +41,7 @@ Data Analysis Expressions (DAX) includes time-intelligence functions that enable
4141
|[PREVIOUSWEEK](previousweek-function-dax.md) | Returns a table that contains a column of all dates representing the week that is previous to the first date in the dates column, in the current context. |
4242
|[PREVIOUSMONTH](previousmonth-function-dax.md) | Returns a table that contains a column of all dates from the previous month, based on the first date in the dates column, in the current context. |
4343
|[PREVIOUSQUARTER](previousquarter-function-dax.md) | Returns a table that contains a column of all dates from the previous quarter, based on the first date in the dates column, in the current context. |
44-
|[PREVIOUSYEAR](previousyear-function-dax.md) | Returns a table that contains a column of all dates from the previous year, given the last date in the dates column, in the current context. |
44+
|[PREVIOUSYEAR](previousyear-function-dax.md) | Returns a table that contains a column of all dates from the previous year, based on the first date in the dates column, in the current context. |
4545
|[SAMEPERIODLASTYEAR](sameperiodlastyear-function-dax.md) | Returns a table that contains a column of dates shifted one year back in time from the dates in the specified dates column, in the current context. |
4646
|[STARTOFWEEK](startofweek-function-dax.md) | Returns the first date of the week in the current context for the specified column of dates. |
4747
|[STARTOFMONTH](startofmonth-function-dax.md) | Returns the first date of the month in the current context for the specified column of dates. |

0 commit comments

Comments
 (0)