为什么 where 子句过滤器适用于 [All subcategoty] 成员而不适用于 [All_Category] 成员?
with member [All_Category] as
([Product].[Category].[All Products],[Measures].[Reseller Sales Amount])
member [All_SubCategory] as
([Product].[Subcategory].[All Products],[Measures].[Reseller Sales Amount])
select
{[All_Category],
[All_SubCategory],
[Measures].[Reseller Sales Amount]} on 0
from [Adventure Works]
where [Product].[Category].&[4]
结果:
All_Categry All_SubCategry Reseller Sales Amount
$80,450,596.98 $571,297.93 $571,297.93