Hi I have a dataset i used from a sql query i built. It has 3 columns.. See below for Sample in comma seperated values.Basically I need to add a column to the dataset called "TransactionTotal" and add up the line items that are grouped within a TransactionID. Hopefully my sample below will give a clear picture. What would be the best way to put the total there? Should I use a temp table and add the data that way?TransactionID,LineItemNumber,Amount,TransactionTotal (new column)1,1,1.00,x (x should = 1.00)2,1,2.00,x (x should = 6.00)2,2,3.00,x (x should = 6.00)2,3,1.00,x (x should = 6.00)3,1,4.00,x (x should = 7.00)3,2,3.00,x (x should = 7.00)
↧