Cumulative YTD (Running Total) in Query

B

Bobby Light

Hi All,

I have a table of financial data from 2007 onwards.

The data is monthly results and includes Budget OR Forecast and Actual
in a 'Type' field.

I want to build a chart of the 2009 result so far, building YTD
cumulative for the year split between BudgetORForecast and Actual.

Can anyone help as to how I create a running total like this please?

Kind regards

Bobby
 
J

Jeff Boyce

Bobby

Are you saying that you want the sum of (some field) for records with a
(?DateEntered?) field with a value on/after the first of the current year?

If so, you can create a totals query, use a selection criterion, and only
get the total of records in the current year.

One way to get "current year" is to use the function Year() (something like:
Year(Date()))

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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

Top