Ds have
AccGroupName : Accounts,Bank,Salary etc
LedgerName
Debit
Credit
showing the error : Invalid usage of aggregate function Sum() and Type: String.
showing the error : Invalid usage of aggregate function Sum() and Type: String.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Nov 22, 2013, 12:54 AM EST
it may work
ds.Tables[0].Compute("Sum(Convert.ToInt32(Debit))", "AccGroupName='Accounts'");
mohammed shamsheerRank #4,152 · 361 reputationPosted Nov 22, 2013, 1:57 AM EST
Hesham Khedr74 reputationPosted Jul 2, 2015, 8:07 PM EDT
mohammed shamsheerRank #4,152 · 361 reputationPosted Jul 28, 2015, 8:14 PM EDT