dbTalk Databases Forums  

Non Empty assistance needed

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


Discuss Non Empty assistance needed in the microsoft.public.sqlserver.olap forum.



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

Default Non Empty assistance needed - 08-21-2006 , 07:49 PM






Hi all,

I have a named set called Current Month in my SQL2005 cube. Here is the MDX
Statement to achieve it:

'Tail([Period].[fiscal].[Month].Members, 1)'



Currently my Time Dimension has dates up to 2021. How can I make my Current
Month MDX to get the last NON EMPTY Month. At the moment it gives December
2021.



Thanks for any help.


Clint



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.