From: SAS Swamy on
Hello everyone,

For the following 2 reports , will PROC REPORT will be the best way OR can
I achieve through regular data steps , I haven't used PROC Report so far
in SAS, can someone suggest some code help and reference for the same

Week Records Total Total Cumulative
records Records-File Percentage
0 3 3 33 9%
1 4 7 33 21%
2 2 9 33 27%
3 5 14 33 42%
4 12 26 33 79%
5 0 26 33 79%

***** 2nd report – reset for every week for the total , cumulative total **

P Week Week Total Total Total Cumulative
records records-cumulative Records-file Percentage

0 0 3 3 3 100%

1 0 3 3 7 43%
1 1 4 7 7 100%

2 0 3 3 9 33%
2 1 4 7 9 78%
2 2 2 9 9 100%

Thanks In Advance,
- Swamy