avoid div by zero

  • Thread starter Thread starter sapta
  • Start date Start date
S

sapta

Dear All,
how can we avoid division by Zero in calculated field
using MS QUERY ?

thanks in advance

sapta
 
can't say specifically, but usually, when dealing with formulas you can use
an if statement

=if(divisor = 0, 0, dividend/divisor)
 
I tried many function before including if,iif,case
but still not found the corrects ones !
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top