dbTalk Databases Forums  

Current Month MDX AS2005

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Current Month MDX AS2005 in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ashvsaod
 
Posts: n/a

Default Current Month MDX AS2005 - 06-05-2006 , 10:47 PM






Hi,

I have the following Time Dimension:
Fiscal (hierarchy) containing the following attributes:
Year, Quarter, Month, Day

My MDX code for current month is
Tail( Filter( [Period].[Fiscal].[Month].Members * [Measures].[Units], Not
IsEmpty([Period].CurrentMember)), 1)



The last month with data is June 2006... But my Dimension extends to 2021...
So I expect my MDX to give me the current month is June 2006... However
instead it gives me December 2021... Can anyone point out what I am doing
incorrectly?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.