Thank yor for giving the above updates..but we i tried to apply the changes it is getting the below exception msg: $V{SUM_BUY}.equals("BUY") ? $F{AMOUNT} : " added this peace of code -------- Compiling to file... .PL_Report.jasper -> D:Apache-ant-1.8.1New ACB SVC BII ProjectiReport-1.2.8iReport-1.2.8DAILFXPOS.java Errors compiling .PL_Report.jasper! net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Syntax error on token "else", delete this token value = (java.math.BigDecimal)(((java.math.BigDecimal)variable_SUM_BUY.getValue()).equals("BUY") ? (((java.math.BigDecimal)field_AMOUNT.getValue())) : (else null)); <--> 2. Syntax error on token "else", delete this token value = (java.math.BigDecimal)(((java.math.BigDecimal)variable_SUM_BUY.getOldValue()).equals("BUY") ? (((java.math.BigDecimal)field_AMOUNT.getOldValue())) : (else null)); <--> 3. Syntax error on token "else", delete this token value = (java.math.BigDecimal)(((java.math.BigDecimal)variable_SUM_BUY.getEstimatedValue()).equals("BUY") ? (((java.math.BigDecimal)field_AMOUNT.getValue())) : (else null)); <--> 3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:510) at java.lang.Thread.run(Unknown Source) ------