DSum running total (cumulative) (1 Viewer)

Ajit Singh

Registered User.
Local time
Today, 00:37
Joined
Jul 11, 2013
Messages
34
Hello

I need running (cumulative) total in a query and the query is the outcome of multiple queries / tables. Field am using is

unit: uds_unit_description (domain : qry_tbl_subdivision_and _code)
x: month_date (domain : tbl_calendar)
y: y1 (domain : ba1)

I need running total of y by unit and x. For example if unit is a and has 12 months....then running total for a should be calculated for 12 months.

Am using the below formula to calculate the running total.....but no luck....please help

Total: y2: DSum("y","query1",[x]<=#31-Dec-13#)
 

Ajit Singh

Registered User.
Local time
Today, 00:37
Joined
Jul 11, 2013
Messages
34
date......25-Jan-2013, 25-Feb2013.....etc
 

burrina

Registered User.
Local time
Today, 02:37
Joined
May 10, 2014
Messages
972
Here is an example of a Running Sum. Of course that can mean different things to different people. I threw this together in a hurry as an example!

HTH
 

Attachments

  • RunningSum.zip
    12.2 KB · Views: 167

burrina

Registered User.
Local time
Today, 02:37
Joined
May 10, 2014
Messages
972
Glad to hear it. Good Luck With Your Project.
 

Users who are viewing this thread

Top Bottom