Hi
I need help about a average on total line.
I have this table
Constr.      Bulldozer     Date                Fuel
1                 21        2015-06-01         200
1                 20        2015-06-20         210
1                 22        2015-07-01         198
2                 12        2015-05-06         212
2                 11        2015-05-07         150
If I use SC average, construction1 = 608 / 3  and construction2 = 362 / 2
I need a average by date, then construction1 = 608 / (2015-07-01  -  2015-06-01) = 608 / 30
and construction2 = 362 / (2015-05-07 - 2015-05-06) = 362 / 1
Any idea about how I can get this average?
Thanks
Mario Wojcik
      
    
