Focal Point
[SOLVED] Cumulative Weekly Report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1557001106

March 28, 2011, 02:05 PM
MMcDonald
[SOLVED] Cumulative Weekly Report
I am trying to take the Posting Date for the current year and convert it to a Weekly Date (the weekly date will always start with a Monday...I think I figured this part out using the function 'BOW') Then I want to sum invoice dollars across by the Weekly Date...the dollars need to be cumulative.
Is there an easy way to do this???
it should look like this..the numbers in the parentheses represents the amount in the next week so you should add the prior YTD week total to the Next week for a new YTD total :
2011/01/03 2011/01/10 2011/01/17
8,000 (-2,000) 6,000 (+3,000) 9,000

This message has been edited. Last edited by: Kerry,


8.0.9, Windows
excel / pdf
March 28, 2011, 03:35 PM
FrankDutch
how about this


DEFINE FILE XXX
BOWDATE/YYM=DATEMOV(POSTINGDATE,'BOW');
END
TABLE FILE XXX
SUM WHATEVER
COMPUTE RTOTAL=WHATEVER+RTOTAL;
BY BOWDATE
ON TABLE HOLD
END
TABLE FILE HOLD
SUM RTOTAL WHATEVER
ACCROSS BOWDATE
END


not sure about the parenthis




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

March 28, 2011, 04:04 PM
MMcDonald
quote:
TABLE FILE HOLD
SUM RTOTAL WHATEVER
ACCROSS BOWDATE
END



Frank,
Looks great...:-)
Thanks so much..!!!!


8.0.9, Windows
excel / pdf