Custom calculation do not work on column level nor does it work if you have a specified calculation order with row first and then column. Then neither the row or column work on the month seen on the image.