처럼 날짜가 작동하지 않는이 내 mdx
오류가 나거나 : 나는 다음과 같이이 오류를 보여주고있다 geomondrian 워크 벤치에서 테스트하고공간 MDX 날짜 집계 함수가 2014년 1월 1일
`with member [Measures].[incident_type] as '[incident].CurrentMember.Properties("incident_type")'
member [Measures].[incident_desc] as '[incident].CurrentMember.Properties("incident_desc")'
member [Measures].[incident_class] as '[incident].CurrentMember.Properties("incident_class")'
member [Measures].[incident_image] as '[incident].CurrentMember.Properties("incident_image")'
member [Measures].[modus_operandi] as '[incident].CurrentMember.Properties("modus_operandi")'
member [Measures].[fir_status] as '[incident].CurrentMember.Properties("fir_status")'
member [Measures].[fir_id] as '[incident].CurrentMember.Properties("fir_id")'
member [Measures].[date_start_time] as '[incident].CurrentMember.Properties("date_start_time")'
member [Measures].[the_geom] as '[incident].CurrentMember.Properties("the_geom")'
member [Measures].[date_end_time] as '[incident].CurrentMember.Properties("date_end_time")'
member [time].[newtime] as 'Aggregate({([time].[2012].[12].[19] : [time].[2012].[12].[31]),([time].[2013]),([time].[2014].[1].[1] : [time].[2014].[1].[8])})'
select {[Measures].[incident_type], [Measures].[incident_desc], [Measures].[incident_class], [Measures].[incident_image], [Measures].[modus_operandi], [Measures].[fir_status], [Measures].[fir_id], [Measures].[the_geom], [Measures].[date_start_time] ,[Measures].[date_end_time] , [Measures].[incident_count]} ON COLUMNS,NON EMPTY Filter([incident].[incident_id].Members, ST_Contains([district].[district_id].[13221].Properties("the_geom"), [incident].CurrentMember.Properties("the_geom"))) ON ROWS from [pin_mapping] where ([time].[newtime])`
:
`Mondrian Error:Failed to parse query 'with member [Measures].[incident_type] as '[incident].CurrentMember.Properties("incident_type")' member [Measures].[incident_desc] as '[incident].CurrentMember.Properties("incident_desc")' member [Measures].[incident_class] as '[incident].CurrentMember.Properties("incident_class")' member [Measures].[incident_image] as '[incident].CurrentMember.Properties("incident_image")' member [Measures].[modus_operandi] as '[incident].CurrentMember.Properties("modus_operandi")' member [Measures].[fir_status] as '[incident].CurrentMember.Properties("fir_status")' member [Measures].[fir_id] as '[incident].CurrentMember.Properties("fir_id")' member [Measures].[date_start_time] as '[incident].CurrentMember.Properties("date_start_time")' member [Measures].[the_geom] as '[incident].CurrentMember.Properties("the_geom")' member [Measures].[date_end_time] as '[incident].CurrentMember.Properties("date_end_time")' member [time].[newtime] as 'Aggregate({([time].[2012].[12].[19] : [time].[2012].[12].[31]),([time].[2013]),([time].[2014].[1].[1] : [time].[2014].[1].[8])})' select {[Measures].[incident_type], [Measures].[incident_desc], [Measures].[incident_class], [Measures].[incident_image], [Measures].[modus_operandi], [Measures].[fir_status], [Measures].[fir_id], [Measures].[the_geom], [Measures].[date_start_time] ,[Measures].[date_end_time] , [Measures].[incident_count]} ON COLUMNS,NON EMPTY Filter([incident].[incident_id].Members, ST_Contains([district].[district_id].[13221].Properties("the_geom"), [incident].CurrentMember.Properties("the_geom"))) ON ROWS from [pin_mapping] where ([time].[newtime])'
`Mondrian Error:Error while parsing MDX statement 'with member [Measures].[incident_type] as '[incident].CurrentMember.Properties("incident_type")' member [Measures].[incident_desc] as '[incident].CurrentMember.Properties("incident_desc")' member [Measures].[incident_class] as '[incident].CurrentMember.Properties("incident_class")' member [Measures].[incident_image] as '[incident].CurrentMember.Properties("incident_image")' member [Measures].[modus_operandi] as '[incident].CurrentMember.Properties("modus_operandi")' member [Measures].[fir_status] as '[incident].CurrentMember.Properties("fir_status")' member [Measures].[fir_id] as '[incident].CurrentMember.Properties("fir_id")' member [Measures].[date_start_time] as '[incident].CurrentMember.Properties("date_start_time")' member [Measures].[the_geom] as '[incident].CurrentMember.Properties("the_geom")' member [Measures].[date_end_time] as '[incident].CurrentMember.Properties("date_end_time")' member [time].[newtime] as 'Aggregate({([time].[2012].[12].[19] : [time].[2012].[12].[31]),([time].[2013]),([time].[2014].[1].[1] : [time].[2014].[1].[8])})' select {[Measures].[incident_type], [Measures].[incident_desc], [Measures].[incident_class], [Measures].[incident_image], [Measures].[modus_operandi], [Measures].[fir_status], [Measures].[fir_id], [Measures].[the_geom], [Measures].[date_start_time] ,[Measures].[date_end_time] , [Measures].[incident_count]} ON COLUMNS,NON EMPTY Filter([incident].[incident_id].Members, ST_Contains([district].[district_id].[13221].Properties("the_geom"), [incident].CurrentMember.Properties("the_geom"))) ON ROWS from [pin_mapping] where ([time].[newtime])'
몬드리안 오류 : '... [시간] [2014] [1] [1]'MDX 개체] 'pin_mapping'큐브에서 찾을 수 없습니다는`
이 오류에 대한 이유는 무엇입니까?
그러나 달력 테이블에이 멤버는이 날짜가 평가됩니다 01 -01-2014 및 데이터 큐브에는 또한 차원, 즉 연, 달 및 일이있는 차원 시간이 있습니다. 따라서 멤버가 큐브에 존재한다고 생각합니다. –
@RanjeetPaswan 저는 스크립트를 매우 단순화하여 시작할 것입니다. 작동하는 간단한 스크립트 - 그러면 문제를 찾을 때까지 점차 scipt의 비트를 다시 추가하십시오. – whytheq