2012-12-17 91 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