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]);