title: SSRS Total Row minus a value based on another fields value
body: <p>I am trying to get a total row displaying the sum of <code>P2_NUM_START</code> minus the count of records with a <code>PRODUCT_CODE</code> of "SWP" which will sometimes exist and sometimes not. Stripping out the IIF statement it constantly shows as False regardless of the existence of "SWP" what am I doing wrong?</p>
  
  <p>Currently I am at:</p>
  
  <pre><code>=Sum(IIf(Fields!PRODUCT_CODE.Value ="SWP",Fields!P2_NUM_START.Value,0))
  </code></pre>