Static Local Variables with GETAVG() function