If you insert a group on:
datepart("ww",{table.date})
...you can then add conditional formulas like this:
if Year({table.date}) = 2007 then {table.amt}
Repeat for 2006. Add these to the detail section, and then insert summaries on them at the weekgroup level, and then suppress the detail section.
-LB