Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Date Hierarchy CurrentMember returns Null, what am i doing wrong

$
0
0
When I run the following query, [Measures].[Previous Period] and [Measures].[X] are coming back with null.I tried changing the dimension type properties to time, date, etc but no joyWITH MEMBER [Measures].[Previous Period] as( ParallelPeriod( [Date].[Fiscal].[Fiscal Month] -- Level to traverse , 1 -- How many members to go back on the Level ,[Date].[Fiscal].CurrentMember ))MEMBER [Measures].[X] as [Date].[Fiscal].CurrentMemberSELECT { [Measures].[Previous Period], [Measures].[X] } ON COLUMNS,{[Date].[Fiscal].[Fiscal Month] } ON ROWSFROM [TOL Metrics Usage]where ( [Dim EVENTTYPE].[IASEVENTTYPEKEY].&[ET00000040], [Dim User Type].[User Type Key].&[2])Not sure what I am doing wrong....[IMG]http://i60.tinypic.com/21nfi1c.png[/IMG]

Viewing all articles
Browse latest Browse all 1341

Trending Articles