Well, it looks like there's a discrepancy between the BOL documentation
for AS 2000 and AS 2005. The AS 2000 BOL actually do call for
parentheses around the list of sets:
http://msdn.microsoft.com/library/de.../en-us/olapdmp
r/pt_prddldml_7tv8.asp
Quote:
|
formula body> ::= FOR '(<set description clause>)' AS '<formula
|
clause>'
...
CREATE CELL CALCULATION [Sales].[Mexico Adjustments]
FOR '(Descendants([Mexico], [City], SELF), {[2000]})'
...
But the AS 2005 BOL only specify a Set Expression:
http://msdn2.microsoft.com/en-us/library/ms144836.aspx
Quote:
|
CREATE CELL CALCULATION Cube_Expression.CellCalc_Identifier FOR
|
Set_Expression
...
Set_Expression
A valid MDX expression that evaluates to a set.
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***