Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delta Calculations

Status
Not open for further replies.

Bonediggler1

Technical User
Jul 2, 2008
156
US
Hello -

I have a matrix report which sums accounts receivable by month/year as column and bucket(1-30 days, over 90 days etc) as rows.

What I need to do is create monthly, quarterly and yearly delta calculations at the end of the report, i.e. as columns to the right of the most recent month/year.

I am not getting very far with this as I cannot even create a calculated field that identifies the maximum month/year value (aggregate functions cannot be used in calculated field expressions).

Not sure why the "MAX" function is even available when creating calculated fields as you cannot use it in a calculated field!

Obviously I am missing something.

Thank for the help!!
 
create your MAX items in the SQL -i.e. return current year / month as fields in the data set and retun to SSRS - you can then reference them to your hearts content

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top