How to sum values by month from Date column?

By the way, there is a recipe for getting year + month from a date here: Recipe for getting Months and Quarters from dates