我有Chain维度,我只是测试MDX代码是否有效。但我收到错误“Subselects只支持COLUMNS轴”。如果有人请帮助我?
CREATE MEMBER CURRENTCUBE.[Measures].Forecast_Gross_Sales
AS (
SELECT NON EMPTY [Chain].[Chain Name] ON COLUMNS FROM [Chain]),
VISIBLE = 1 , DISPLAY_FOLDER = 'Forecast' , ASSOCIATED_MEASURE_GROUP = 'Data Types' ;
答案 0 :(得分:2)
CREATE MEMBER
不使用SELECT
语句,但通常是元组表达式。 MDX不是SQL。