4 Replies Latest reply: Jan 31, 2013 2:54 AM by Khadeer Shaik RSS

    Group By and Average at Script level

      Hey,

       

      i want to calculate the following scenario...

       

      ID  Amount

      1     10

      1     10

      1     10

      2     20    

      2     20

      3     30

      3     30

      3     30

      3     30

       

       

      i want to group by id and calculate average of amount at script level.

       

       

      Utsav