Using Count() and IIF in SSRS expression
<p>I am attempting to count the number of values where the Previous Year Comp is greater than 0. I found examples on StackOverflow but nothing is giving me the count I want. </p>

<p>I have the following expression:</p>

<pre><code>= IIF((Fields!Previous_Year_Comp.Value) &gt; "0.00",
      count(Fields!Previous_Year_Comp.Value),0)
</code></pre>

<p>This expression is counting the 0 values. Keep in mind that this expression has undergone several modifications. What am I missing? </p>