I am trying to find the second to last invoice date in a sales table to calculate whether it has been twelve months since the last sale or a particular good to a given customer. For example, we sold something to Customer X on August 31, 2013 and the previous sale before that was July 1, 2012, which is the value I want returned to consider it "New". The formula below returns a value of August 31, 2013 for the date. Last Sale Date:=CALCULATE(LASTDATE(GMData[Invc Invoice Date]),DATESBETWEEN(Calendar[DateKey],BLANK(),LASTDATE(Calendar[DateKey])),ALL(Calendar))