Solved

Using IsNull() in Reporting Services?

Posted on 2004-09-10
4
6,141 Views
Last Modified: 2007-12-19
I can't seem to get the IsNull function to work from within Reporting Services.  Essentially I need to check a series of rows to see If a particular unique identifier is null and if it is, return a statement like 'this value is null'.

It returns that isnull is not declared.

Ideas?

500 points for a quick response!
0
Comment
Question by:aaron240
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
ABaruh earned 500 total points
ID: 12032084
Use:

IIF(IsNothing(Fields!MyField.Value),"Condition if true", "Condition if false")


The key is IsNothing
0
 
LVL 5

Expert Comment

by:amit1978
ID: 12033663
You can use isnull in MS-SQL Server

select isnull(<FieldName>, 'this value is null') Table_Name

0
 
LVL 7

Expert Comment

by:ABaruh
ID: 12045992
Were you able to test the IsNothing code yet?  
0
 

Author Comment

by:aaron240
ID: 12046399
Posted it on Friday, sorry didn't have a chance to test it over the weekend.  ABaruh your solution was perfect, thanks.
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question