请教:一个简单的MDX查询问题(关于成员属性的使用)
我希望显示出机构BG00000118的各业务员(包括业务员编写与名称)的月销售量Month_Quantity
[salesman].[Personnel]是一个维度,有键Personnel,属性Personnel_name
现在,如果只显示编码没问题,即:
select {[Measures].[Month_Quantity]} on 0
,non empty {[salesman].[Personnel].[Personnel]} on 1
from [渠道分析]
where ([office].[organ].&[BG00000118])
只返回5条记录,即我这个机构按业务员汇总的销量
但
WITH MEMBER own_cust AS
[salesman].[Personnel].CurrentMember.Properties("Personnel_name")
select {own_cust,[Measures].[Month_Quantity]} on 0
,non empty {[salesman].[Personnel].[Personnel]} on 1
from [渠道分析]
where ([office].[organ].&[BG00000118])
会返回2000多条,即所有业务员的销量,where ([office].[organ].&[BG00000118])就象没起作用式的
请问应该如何处理?