How to multiply only not null values in rdlc report expression -


How to multiply two values ​​when RDLC report does not tap into expression

I use this

= SUM (field! Quantity value * field! Unique value. Value)

it has been changed, but the value is also zero If value is zero

= even ((IIF (field! Quantity value is nothing, 0, field! Quantity value)) * (IIF (field! Unique origin) Other. Money is nothing, 0, Fields! Exclusive purse. Thanks in advance for Vail)))

Help.

you

for example you can modify your expression like this :

  = yoga (IIF (field! Quantity value is nothing, CDCE (0), CDBL (field! Volume value)) * IIF (Fields! CDBL (0), CDE (Fields! Exclusive Pars. Value)))   

This is a 'compressed' version:

  = Sum ( IIf (do not have anything (field! Quantity. Uly * Field! Unique value. Value), Seedibiel (field! Quantity. Price * Field! Unique value. Value), Seedibiel (0))    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -