Returns a single column table of dates specified by a start date, an offset, and the time interval for the offset.
Use with CALCULATE to return revenue from the previous 7 Days.
Revenue Last Full Week = CALCULATE(SUM(TransactionData[Revenue]), DATESINPERIOD(CalenderDate[Date],FIRSTDATE(CalenderDate[Date])-7,7,DAY))
Revenue Last Full Week returns the last 7 days of revenue. For example on Jan 8th, it returns the sum of revenue from Jan 1st to Jan 7th. On Jan 9th, it returns the sum of revenue from Jan 2nd to January 8th and so on.
It does not return anything on January 1st 2016, since there is no data from Dec 25th 2015 to Dec 31st 2015.