Solved

Using IsNull() in Reporting Services?

Posted on 2004-09-10
4
6,071 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
  • 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now