Defining Calculated Members

You can define a calculated member with one of three scopes:

A calculated member can be persisted in a local cube if a CREATE MEMBER statement is specified in the COMMAND clause of the CREATE CUBE statement.

CREATE CUBE MYWAREHOUSE

(

DIMENSION . . .

. . . ,

COMMAND [CREATE MEMBER [MYWAREHOUSE].[MEASURES].[WAREHOUSEPROFIT]

        AS '[MEASURES].[WAREHOUSE SALES] - [MEASURES].[WAREHOUSE COST]']

)

 

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.