Add an integer/decimal column to your query to enable aggregation.