Creating a previous month metric (transformation)