Returns the last day of the month, quarter or year.
EndOf_Month = CALCULATE(SUM(TransactionData[Revenue]),ENDOFMONTH(CalenderDate[Date]))
EndOf_Quarter = CALCULATE(SUM(TransactionData[Revenue]),ENDOFQUARTER(CalenderDate[Date]))
EndOf_Year = CALCULATE(SUM(TransactionData[Revenue]),ENDOFYEAR(CalenderDate[Date]))
Useful for an account balance. Returns the last day of revenue in the current context.
If there is no data for a particular date, it will return blank instead of the last value. For instance, the second row in EndOfMonth is blank because there is no data for Feb 29th 2016 in this data set.