Typically this occurs when a field uses an expression in a report table were the expression tries to divide a number by zero (Or the field can populate with #Error when there is a NULL involved). The best solution to resolve this problem is to create a custom function.
Right click on the background of your report (i.e. just below where it says Design) and go to Report Properties as shown:
IsNothing() is used to avoid #Error and check whether the divisor or the dividend are 0 to avoid NaN and Infinity.
Now change the field expression from, for example:
To the expression below using the newly defined function Divide:
Next you can update the fields textbox properties to make the number display as a percentage.
NOTE: Inserting a user defined function into a table will mean that that table will no longer be able to be copied and pasted as this throws an error. To copy and past the table you will need to look at the code of the report by right clicking on the report and choosing View Code. Search for “
Code.Divide” and comment it out with an apostrophe ( ‘ ). You will now be able to copy the table.