When we work with reports, most of the times we need to do complex calculations and logic. When we do calculations, there are chances of using the division operation. So, need of checking the divided by zero problem every time. The solution I propose is, write a simple custom function and call it wherever needed. Look more here.