I have values in a column (col 3) in ssrs report which is a calculation of two other columns. The calculation is col3 = col1/col2 where i set col3 to nothing if col2 is 0. e.g. iif(col2 = 0,nothing,col1/col2) However the col3 should show blank values in report but it shows 0. The format of col3 is given as "#,0.0%;(#,0.0%)" Is There any way to display the values as blank when col2 is 0 ?
IIF
doesn't short circuit in SSRS, so a zero there should be giving you divide by zero errors. – stubaker