I am doing computations on that data that will result in #Error at times. The underlying cause is a divide by zero. I could jump through the necessary work arounds to avoid the divide by zero, but it might be simplier to mask the #Error text and show a blank cell. Is it possible to hide the #Error and just display nothing?
Edit
The expression for the text might display #Error is something along these lines:
Fields!Field1.Value / Fields!ValueThatMightBeZero.Value
I could work around this with some ugly checking, but it might be easier to just catch the #Error. (A straight iif check around the express doesn’t work because SSRS evaluates both the true and false clauses first; if it gets a divide by zero on either clause, it will return #Error, even if that clause wouldn’t have been used).
There is an IsError function, but it won’t reduce the code you need to handle this. If you don’t like the usual
iifwork arounds, then I think you need to use your own embedded code in the report. In that code you can have a try catch handler. Create a function that you can call with=Code.MyDivider(Fields!Field1.Value , Fields!ValueThatMightBeZero.Value)