G
Guest
I am attempting to calculate 12 month rolling PPM (part per million defects)
I have joined my concern log and my shipments log using the month() and year(). This concept is good for getting monthly shipments and defects per part per supplier, yet I still need to calculate a rolling number
I used Dsum to calculate my rolling, yet the only problem is it calculates from months 1-12 or 12-1 even though we are in month 2.
Here is the syntax: RunTotal: DSum("sumofship_qty","PPM_Shipments_Defects_12","[part number]=" & [partalias] & " And [dmonth]=" & [monthalias] & ""
(field name) (Another Query) (Field Name) (alias in query) (Field Name) (alias in query
What I am attempting to achieve will look like this
Dmonth Dyear Part Number sumofship_qty Runtota
3 2003 #1 50 5
4 2003 #1 75 12
5 2003 #1 50 17
6 2003 #1 25 20
I have joined my concern log and my shipments log using the month() and year(). This concept is good for getting monthly shipments and defects per part per supplier, yet I still need to calculate a rolling number
I used Dsum to calculate my rolling, yet the only problem is it calculates from months 1-12 or 12-1 even though we are in month 2.
Here is the syntax: RunTotal: DSum("sumofship_qty","PPM_Shipments_Defects_12","[part number]=" & [partalias] & " And [dmonth]=" & [monthalias] & ""
(field name) (Another Query) (Field Name) (alias in query) (Field Name) (alias in query
What I am attempting to achieve will look like this
Dmonth Dyear Part Number sumofship_qty Runtota
3 2003 #1 50 5
4 2003 #1 75 12
5 2003 #1 50 17
6 2003 #1 25 20