Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Trying to sum a field with NULL Values for SSRS 2008 (NOT r2)

$
0
0

I know the easy way to kick out null values is using IsNothing, like so:

sum(iif(IsNothing(Fields!Distinct_Student_SSP3.Value), 0, Fields!Distinct_Student_SSP3.Value))

However, my company's production server is running SSRS 2008, and apparently this does not work, as I get #Error in any field where a null value occurs.  I'm rocking SSRS 2008 r2 on my dev machine and it works fine, values pop in with no issues; however, deploying it to the 2008 Prod box produces the errors.  Does anybody know of any "old school" ways to get around the nulls?  Is it possible to convert the nulls to 0 in the query?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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