Unix Technical Forum

End Date . . . ?

This is a discussion on End Date . . . ? within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> The date i select from my report to pull data 'End Month Date'. I need to calculate my 'TotalAmount' ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:09 PM
=?Utf-8?B?R0dpbGw=?=
 
Posts: n/a
Default End Date . . . ?

The date i select from my report to pull data 'End Month Date'. I need to
calculate my 'TotalAmount' base on my 'End Month Date' and previous 'End
Month Date'. For example:
if i selected '20070831' and 'TotalAmount'= '100', base on my selected date
i need to get 'TotalAmount' from previous 'End Month Date'. For example
previous 'End Month Date' the 'TotalAmount' = '80'. 100-80=20.
what parameter should i use to get 'TotalAmount' from previous 'End Month
Date' in my expression???

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 07:09 PM
Jeje
 
Posts: n/a
Default Re: End Date . . . ?

which tool do you use?
reporting services?
do you write an SQL query or MDX query?
and describe the database or cube model.

"GGill" <GGill@discussions.microsoft.com> wrote in message
news:88FE1B37-E580-465B-A57A-759F132053ED@microsoft.com...
> The date i select from my report to pull data 'End Month Date'. I need to
> calculate my 'TotalAmount' base on my 'End Month Date' and previous 'End
> Month Date'. For example:
> if i selected '20070831' and 'TotalAmount'= '100', base on my selected
> date
> i need to get 'TotalAmount' from previous 'End Month Date'. For example
> previous 'End Month Date' the 'TotalAmount' = '80'. 100-80=20.
> what parameter should i use to get 'TotalAmount' from previous 'End Month
> Date' in my expression???
>
> Thank you.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com