I'm trying to do something similar to the case statement in Listing 10.2.
Problem I'm having is I'm testing against an attribute that's calculated as it's used in the data.
To equate to your example it's possible
[Month].&[1] doesn't exist
and
Month.&[2] does.
The script saves but the calculations in the case statement after [Month].&[1] are invalid. Is there a way around this (testing currentmember against member that may or may not exist)?