Doubt in Total

Hi,

In sales invoice trading report, i have taken sales Invoice line amount, for two invoice lines the amount is came

For example,

  1. 107500

  2. 107500

the total is not coming correctly in RTC, but in classic its coming correctly.

I tried in these ways…

Last(Fields!Totalamt.Value) - No value in RTC

First(Fields!Totalamt.Value) - 107500

(Fields!Totalamt.Value) - 107500

Sum(Fields!Totalamt.Value)… - 322500

How to bring original value 215000. Please help me for RTC level

Have you initialized the variable and written the code of create total.