Question on SSRS Report Code
hi… i new ssrs , don’t understand behavior i'm observing on report (“extract”) using report code selectively accumulate amount. the intention accumulate single value of amtamt per icn, in effect eliminating duplicate amtamt per icn. the expression under “function return” calls report-code function accumulate amtamt when column not zero; ”code.amounttotal” seems incremented when function not called. the same behavior observed if expression modified call code.addamount(0) instead of returning 0.0. input/feedbacks? desdeaqui, as know, process steps of iif function is: 1. calculate expression , replace field expression actual value. 2. return relevant value according condition logic. why amount value accumulating on each row, root cause expression code.addamountbtyval(fields!amt.value) occurring in iif function. demo illustrate avoid problem successfully. thanks, bill lu bill lu tech...