January 2017
Beginner to intermediate
372 pages
5h 55m
English
A common requirement for BI reporting is to show performance based on periods. Examples include reporting on this month versus last month, this quarter versus last quarter, or this year versus last year. In each of these instances you are calculating the totals based on the time frame required. DAX includes the PARALLELPERIOD function to create these types of comparisons.
ParallelPeriod:=CALCULATE(
COUNT(CRASH_DATA_T[CASENUMBER]),
PARALLELPERIOD(Calc_Date_T[CRASH_DATE],
-1,YEAR))
Read now
Unlock full access