我收到错误消息:查询 (9, 7) 解析字符串 [Measures].[Total Earnings] 时,在多维数据集中找不到“[Total Earnings]”成员。
- 很常见,但我只是看不到查询的位置。希望你们中的一个人会发现它,或者有更好的方法这是我所拥有的:
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]);