If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Creating Current Month and Previous 12 Months in MS Analysis Services

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-18-04, 23:47
lidsurfer lidsurfer is offline
Registered User
 
Join Date: Jul 2004
Posts: 1
Creating Current Month and Previous 12 Months in MS Analysis Services

Could someone please help.

I would like to use some MDX which calculates the current month for me, based on system date or some other method. That way when I report, I could use the MDX to create a calculated member (called Current Month) which I could then use. This would mean never having to manually select the current month from my time dimension.

Also, could someone please tell me how I could get a named set in Analysis Services which returned 12 different columns based on current month.

For example, if it was July, then the columns would be:

July 2003, AUg 2003, etc right through to July 2004.

Any ideas?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On