2012-12-17 92 views
1

我收到错误:查询(9,7)字符串[度量]。[总收入]为'[总收入]'的成员未在多维数据集中找到解析。ssas mdx:查询出错

- 常见的,但我只是没有看到在查询中的位置。希望你们中的一个会发现它,或者有更好的方法下面是我有:

with 
    member measures.[Total all Earnings] as [Total Earnings] 
     (measures.[Total GS Earned]) + (measures.[Total DSE Earned]) + (measures. [Total Shares Earned]) 
    set [Top 10 Interstate Earnings] as 
    topcount 
    (
     {Stores.[Interstate]. [Interstate].members}, 
     10, 
     (Measures.[Total Earnings], [Time].[C Year].[2011]) 
    ) 
    select 
    {([Measures].[Total Earnings])} on columns, 
     {[Top 10 Interstate Earnings]} on rows 
     from LoyaltyMeasurements 
     Where (Time.[C Year].[2012]); 

回答

1

我是一个dufus ......没关系。直到我粘贴它才看到!

的第一行应是所计算出的构件如下:

with 
    member measures.[Total Earnings] as