Hi, I'm wondering if anyone can help with some scope syntax in the calculations tab. I'm trying test the following:/* Calculate the entire cube first.*/CALCULATE;/* This SCOPE statement defines the current subcube */SCOPE([Geography].[State hierarchy].MEMBERS, [Measures].[Test], *);/* This expression sets the value of the test measure */THIS = [Measures].[Test] * 1000;END SCOPE;It dies at the semi-colon following the calculate command. What am I doing wrong?I'm using SQL Server 2008 Standard EditionThanksGraham
↧