title: divide by zero/null workaround in SSRS 2008 report
body: <p>I have a report with a field whose value was the expression:</p>
  
  <pre><code>Fields!TotalPrice.Value/Fields!TotalSlots.Value
  </code></pre>
  
  <p>Although sometimes TotalSlots was blank and thus I was getting a divide by zero runtime error. So I changed the expression to this:</p>
  
  <pre><code>=IIF(Fields!TotalSlots.Value &gt; 0, Fields!TotalPrice.Value/Fields!TotalSlots.Value,"unknown")
  </code></pre>
  
  <p>but I'm still getting a divide by zero error. How do I work around this zero divisor issue.</p>