Ver originalSELECT PERIOD, DIRECCION, SUM(AMOUNT) AS TOTALFROM APLI1WHERE TOTAL > 0GROUP BY PERIOD, DIRECCION