I think the expression is ok. but not the data-set or probably more likely the object. If you used such logic your object must not contain the Year as dimension respectively a field which includes the year like a YearMonth - with just only the Month it should be working.