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

technet community support



SQL Server  >  SQL Server Reporting Services, Power View



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........