任何人都可以帮我看看这个简单的MDX查询,并告诉我为什么会出现无限递归错误?
with member [Measures].[Count of Records]
as count(nonempty([ResourceId].[ResourceId].members))
select
[Measures].[Count of Records] on 0,
[ProcessDate].[ProcessDate].Members on 1
from [Model]
我正在尝试为每个日期获取非空的资源ID计数。这是我收到的错误:
Infinite recursion detected. The loop of dependencies is: Count of Records -> Count of Records.