dbTalk Databases Forums  

Retrieve YTD value

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


Discuss Retrieve YTD value in the microsoft.public.sqlserver.olap forum.



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

Default Retrieve YTD value - 09-20-2004 , 09:43 AM






Hi,

I would like to retrieve a YTD value. For example:

InputDate Value
jan 2005 50
feb 2005 60
Mar 2005 80
Apr 2005 25

In March i would like to have the sum of jan - March so that would be 190
(50+60+80)
I could not find anything in the group that came close to this. The books
online says that YTD function retrieves a set of dates and that is not what i
need.

Thnx,

Stanley

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.