深度嵌套的递归计算无法调用CLR存储过程

时间:2017-07-06 02:01:51

标签: ssas

运行以下查询时,我点击了上述错误消息:

WITH
MEMBER [Measures].[LEVEL INSTANCE none:Date:qk - lev00] AS
  'CASE WHEN IsEmpty([Dim Calendar].[Date].CurrentMember.MemberValue) OR [Dim Calendar].[Date].CurrentMember.MemberValue = null THEN null ELSE CDate([Dim Calendar].[Date].CurrentMember.MemberValue) END',
  SOLVE_ORDER = 127
SELECT
{[Measures].[AvgSelectedCount],
 [Measures].[AvgSelectedScore]} DIMENSION PROPERTIES [MEMBER_UNIQUE_NAME],[MEMBER_CAPTION] ON COLUMNS,
NON EMPTY [Dim Calendar].[Year].[Year].AllMembers DIMENSION PROPERTIES [MEMBER_UNIQUE_NAME],[MEMBER_CAPTION] ON ROWS
FROM [sqis]
WHERE
StripCalculatedMembers(CROSSJOIN(
  Filter(
    [Dim Calendar].[Date].[Date].AllMembers,
    DATEADD("d",-365,DATEADD("d",DATEDIFF("d",CDate(36526),NOW()),CDate(36526))) <= [Measures].[LEVEL INSTANCE none:Date:qk - lev00] AND [Measures].[LEVEL INSTANCE none:Date:qk - lev00] < DATEADD("d",1,DATEADD("d",DATEDIFF("d",CDate(36526),NOW()),CDate(36526)))),
  {[Dim Country Region Vendor].[Country].&[Italy]}))
  

查询(14,5)托管存储过程DATEADD的执行失败   出现以下错误:   微软:: AnalysisServices :: AdomdServer :: AdomdException。深   嵌套递归计算无法调用CLR存储过程。   执行完成

错误是什么意思,是否需要为SSAS中的DimCalendar Date属性设置任何内容?

0 个答案:

没有答案