Excel 2010作为SSAS 2008R2的客户端不会显示命名集中的所有成员

有一个function可以在Excel 2010中创build自定义的mdx集。我已经创build了一个 – 它结合了来自不同维度的成员,在SSMS中工作得很好,但是在Excel中,我只能看到集合的一半成员。 这是从Excel获取的MDX查询:

WITH SET [13,14,Trash, MarkDown] as { ([Product].[Category].&[13], [Discounting].[Liquidity].[All discs]) ,([Product].[Category].&[14], [Discounting].[Liquidity].[All discs]) ,([Product].[Category].[All products], [Discounting].[Liquidity].[Liq group].&[1]) ,([Product].[Category].[All products], [Discounting].[Liquidity].[Liq group].&[0]) } SELECT NON EMPTY {[13,14,Trash, MarkDown]} DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME ON COLUMNS FROM [CubeName] WHERE ([Measures].[On hand qty]) CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS 

Excel仅显示Category13和Category14的值。 SSMS做更多 – 它显示所有值。

在Excel中,它看起来像这样:

  | category 13 | category 14 on hand qty | 150 | 200 

在SSMS中:

  | category 13 | category 14 | All products | All products | All discs | All discs | Liq group 1 | Liq group 0 on hand qty | 150 | 200 | 35 | 85 

我试图在服务器端进行这个设置,但是没用 – 导致excel是一样的。 是否有可能在Excel中设置所有的值?

我创build了两个隐藏的成员

  MEMBER [Product].[Category].[All Liq 1] as ([Product].[Category].[All], [Discounting].[Liquidity].[Liq group].&[1]) MEMBER [Product].[Category].[All Liq 0] as ([Product].[Category].[All], [Discounting].[Liquidity].[Liq group].&[0]) 

然后创build集

 {[Product].[Category].&[13], [Product].[Category].&[14], [Product].[Category].[All Liq 1], [Product].[Category].[All Liq 0]} 

而且它确实在excel中需要什么。