Sum query help

R

Rob

I have a simple query that calculates a number for each month. I want to add
another field that calculates the cumulative total for each month. For
example, November would = Oct+Nov and December would =Oct+Nov+Dec and so on.
Can this be done in the same query or is coding necessary? Below is the SQL
for the query.
Thanks for the help.
Rob
SELECT [qry York Data -- PTD].Month, Sum([qry York Data -- PTD].[PTD VC
Strategic]) AS [SumOfPTD VC Strategic]
FROM [qry York Data -- PTD]
GROUP BY [qry York Data -- PTD].Month;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top