dbTalk Databases Forums  

Current Week calculation

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


Discuss Current Week calculation in the microsoft.public.sqlserver.olap forum.



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

Default Current Week calculation - 06-21-2006 , 06:35 PM






Hello, I am trying to create "Current Week" member within an existing Week
dimension, but the following code does not filter data correctly. I would
really appreciated if someone can point me in the right direction. Thanks!

Tail(Filter([Weeks].[Week Name].Members,NOT
IsEmpty(([Weeks].CurrentMember,[Atlas Total Conversions]))),1).Item(0)


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.