Answer
Use A / NULLIF(B, 0) instead of a plain A/B division — NULLIF returns NULL when its two arguments are equal, so if the denominator is genuinely zero, the whole division evaluates to NULL rather than raising a divide-by-zero error, letting the row still display (with a blank/null result for that specific calculated column) instead of breaking the whole report or element.