+ Start a Discussion
mromani1mromani1 

SUM?

Is there a Sum function is SOQL?

 

I read in some other boards that it is not available, but those were posts of last year...Just was wondering if anything changed....

 

I know group by doesnt work, but im just asking about a straight sum of 1 column, like :

 

Select Sum(col1) from Invoices__c

 

(Im making the call from APEX...if that changes anything....)

 

Thanks!

Greg HGreg H

Sorry but there is still no sum function in SOQL.
-greg

JimRaeJimRae
According to the pre-release notes for the Spring '10 release, this is coming, and of course group by would be as well.