Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Dividing by Zero

$
0
0

I am trying to create a case statement that will allow me to divide by zero and then turn into a percent  I am wondering what else I need to do to make that happen.

 

CASE WHEN  Gross_Paid_Alae_YTD = 0  THEN 0 ELSE (AJO_PAID_Alae / Gross_Paid_Alae_YTD) END

Thanks!


Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>