Home Forums SQL Server 2008 SQL Server 2008 - General Cumulative total column wise RE: Cumulative total column wise
David Webb-CDS
SSCoach
Points: 17398
More actions
September 5, 2013 at 9:53 am
#1647774
Not a solution, just a clarification, you need the cumulative total adding each month to the previous month like
select opco, region, country, jan as [jan],
jan + feb as [feb],
jan + feb + mar as [mar],
etc...