There are some who jump out of bath-tub nearly naked when they are highly excited, fortunately I am not one of them, but when I saw the Aggregate functions in Spring 10 release, I was nearly in tears, ok, thats too dramatic but Aggregate functions giving a very beautiful meaning to data altogether. For those of you who knew SQL you obviously know what aggregate functions are and how they beautify your code. Those who do not know, aggregate functions help you aggregate the date based on certain field. Say for example, you want to show the count and Opportunities created on a day, you can aggregate them using SOQL. AggregateResult[] groupedResults = [SELECT Name, Count(Amount) FROM Opportunity GROUP BY CreatedDate]; So how do we display it on Visualforce: Just iterate on the AggregateResults and get elements one by one. for (AggregateResult ar : groupedResults) { System.debug('Created Date' + ar.get('CreatedDate')); } A few pointers for debugging: 1. Alw