mohammed shamsheer

mohammed shamsheer

  • NA
  • 394
  • 143.5k

Invalid usage of aggregate function Sum() and Type: String.

Nov 22 2013 4:25 AM
 ds.Tables[0].Compute("Sum(Debit)", "AccGroupName='Accounts'");

Ds have 

AccGroupName : Accounts,Bank,Salary etc
LedgerName
Debit
Credit

showing the error : Invalid usage of aggregate function Sum() and Type: String.

Answers (4)