Solved

Using IsNull() in Reporting Services?

Posted on 2004-09-10
4
6,054 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
Comment Utility
Use:

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


The key is IsNothing
0
 
LVL 5

Expert Comment

by:amit1978
Comment Utility
You can use isnull in MS-SQL Server

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

0
 
LVL 7

Expert Comment

by:ABaruh
Comment Utility
Were you able to test the IsNothing code yet?  
0
 

Author Comment

by:aaron240
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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…

744 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

16 Experts available now in Live!

Get 1:1 Help Now