• refer to this post...

    http://sqlsaga.com/sql-server/how-to-calculate-running-totals-in-sql-server/[/url]

    step by step explained...

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.