Hi Cristina,
The formula to use to get Sum for only last 12 months in the SUM column would be
=Sum([Measure]) where ([Date] Between (Relativedate(Currentdate();-365);Currentdate()))
Check this out
http://scn.sap.com/thread/3451412
Thanks,
Mahboob Mohammed