SRSS: Current / Last Fiscal Year Sum Calculation?

SRSS-Current--Last-Year-Totals
Hi EE,
I’m new to SQL Server Reporting Services but what I’m trying to achieve is creating a field on the report that looks at a total sum of product sold in the Current Fiscal Year (Starting 01-05-2011 to 30/11/2011) and then also have second field which looks at the a total sum of product sold for Last Fiscal Year (Starting 01-05-2010 to 30/11/2010) the end dates for both would then change to last day of Current December \ Last December  when we get into January and so on.
Has anyone done anything like this before in SRSS
Thank you for all you Help in Advance :)
Ross
 
LVL 7
Ross TurnerManagement Information Support AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

planoczCommented:
what you are asking for is best to make as a stored procedure with the parameters
of your begin and end dates. With the parameters you are not forcing yourself to only just one kind of report.
With the parameters you can do it by the year , the month, the week , or even the day.
The parameters are passed from the report to the SP and the query returns back to the report the answers you need to fill the report.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark WillsTopic AdvisorCommented:
Yep, would agree.

Create the Stored Procedure to output all the columns you need - let the stored procedure do all the procedural work for you, so, your report is much more simplified...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.