在AdventureWorks上查看以下示例。
with member [Measures].[CountTest] as count(existing [Product].[Subcategory].members - [Product].[Subcategory].[All]) select { [Measures].[Internet Sales Amount],[Measures].[CountTest] } on columns, { ([Product].[Category].[Category] ,[Product].[Subcategory].[Subcategory] -- comment this line for the second result ) } on rows from [Adventure Works]
现在注释父视图的指示行。