Skip to content

Commit 37af651

Browse files
Merge pull request #1002 from kgremban/jan21-uuf-time
UUF - previousyear, time-intelligence
2 parents f7386f5 + f1103d2 commit 37af651

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
@@ -7,9 +7,9 @@ ms.topic: reference
77

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

10-
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.
10+
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.
1111

12-
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
12+
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.
1313

1414
## Syntax
1515

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

3232
## Remarks
3333

34-
- 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`.
34+
- 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`.
3535

3636
- The `dates` argument can be any of the following:
3737
- 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
@@ -28,11 +28,11 @@ Data Analysis Expressions (DAX) includes time-intelligence functions that enable
2828
|[ENDOFYEAR](endofyear-function-dax.md) | Returns the last date of the year in the current context for the specified column of dates. |
2929
|[FIRSTDATE](firstdate-function-dax.md) | Returns the first date in the current context for the specified column of dates. |
3030
|[LASTDATE](lastdate-function-dax.md) | Returns the last date in the current context for the specified column of dates. |
31-
|[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. |
32-
|[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. |
33-
|[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. |
34-
|[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. |
35-
|[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. |
31+
|[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. |
32+
|[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. |
33+
|[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. |
34+
|[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. |
35+
|[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. |
3636
|[OPENINGBALANCEWEEK](openingbalanceweek-function-dax.md) | Evaluates the expression at the first date of the week in the current context. |
3737
|[OPENINGBALANCEMONTH](openingbalancemonth-function-dax.md) | Evaluates the expression at the first date of the month in the current context. |
3838
|[OPENINGBALANCEQUARTER](openingbalancequarter-function-dax.md) | Evaluates the expression at the first date of the quarter, in the current context. |
@@ -42,7 +42,7 @@ Data Analysis Expressions (DAX) includes time-intelligence functions that enable
4242
|[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. |
4343
|[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. |
4444
|[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. |
45-
|[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. |
45+
|[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. |
4646
|[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. |
4747
|[STARTOFWEEK](startofweek-function-dax.md) | Returns the first date of the week in the current context for the specified column of dates. |
4848
|[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)