Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

HOW TO GET CUMULATIVE SUM USING SSIS

$
0
0

I have a scenario where i have to add an extra column. say input columns are

EmpID     EmpName    EmpSal

1        Iyan        $5000  
1        Iyan        $5000  
2        Rocky       $3500
2        Rocky       $3500
3        Rose        $6000
3        Rose        $6000

I want the output column with the cumulative sum like

EmpID     EmpName    EmpSal        cumlative
1             Iyan            $5000           $5000
1              Iyan           $5000           $10000
2             Rocky          $3500           $3500        
2             Rocky          $3500           $7000
3             Rose            $6000           $6000
3             Rose            $6000            $12000

I want to do this using SSIS. (no store proc or script task).

Is there a way to do this,if there is please help me out (Screen shots would be really helpful)

Regards

Praveen Uppath


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>