Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sum for Formula Field in Crystal Report 2008 !!!

Hello Expert,

How to summarized formula field in crystal report. I have 1 report in which I have put formula to get received value, but I want to sum that formula field(Received Value) in my crystal report 2008.

I have tried below formula but It didn't give me correct result.

{@Initializer} WhilePrintingRecords; Numbervar dSum :=0;

{@Increment} WhilePrintingRecords; Numbervar dSum; //Don't initialize zero dSum:=dSum+{@Net}; //{@Net} formula field must be return numeric value

{@Total} WhilePrintingRecords; Numbervar dSum; //Don't initialize zero dSum;

Please advise.


Harshal Makwana

Former Member
Former Member replied

Hi Harshal,


Go to Running total Fields in Field Explorer and right click on it and make your Field For total

and if you have already made your formula then select it and [>] click it to put your formula to Field to Summarize then from Type of Summary Drop Down select Sum and  click ok. Now you can see your

New formula at Below List in Running total Fields You can put it where you want to see total.


Abhi Patel

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question