title: #Error even after using IIF to avoid division by Zero in Expression
body: <p>Ran into this issue in SSRS and am hoping for some assistance.</p>
  
  <p>Simply want to return a 0 or 0.00 in a Total textbox when there is a zero in textbox 167 or 168. I have ISNULL covered in the dataset for both fields. Textbox is formatted Currency in Report. I'm getting results if 167 and 168  are both not 0, but #Error if they are. Any thoughts? </p>
  
  <pre><code>=IIF((ReportItems!Textbox167.Value &gt; 0) AND (ReportItems!Textbox168.Value &gt; 0)
      ,CDEC(ReportItems!Textbox173.Value / ReportItems!Textbox167.Value) - 
       CDEC(ReportItems!Textbox176.Value / ReportItems!Textbox168.Value), 0)
  </code></pre>
  
  <p>Thanks!</p>