Forum Discussion
Anonymous
6 years agoNot applicable
Parallelperiod issue
Hi all! I'm trying to get the sales value of the previous previous month but i'm not been able to reach it using parallelperiod formula. (CALCULATE(Consolidado[TO]; PARALLELPERIOD(Consolid...
Anonymous
6 years agoNot applicable
The dates argument can be any of the following:
- A reference to a date/time column. Only in this case, a context transition applies because the <Dates> column reference is replaced by
- CALCULATETABLE ( DISTINCT ( <Dates> ) )
- A table expression that returns a single column of date/time values.
- A Boolean expression that defines a single-column table of date/time values.
This function takes the current set of dates in the column specified by Dates, shifts the first date and the last date the specified number of intervals, and then returns all contiguous dates between the two shifted dates. If the interval is a partial range of month, quarter, or year then any partial months in the result are also filled out to complete the entire interval.
The result table includes only dates that exist in the dates column.