Groups | Blog | Home
all groups > sql server reporting services > july 2006 >

sql server reporting services : Matrix dataset filter out null


magendo_man
7/31/2006 9:11:02 AM
I have a dataset which has a ContractNo column which can take a null value. I
cannot carry out the filter on the stored procedure which generates my
dataset.

This dataset is used in a matrix. I need to filter out all rows with a null
ContractNo. I thought I could do this on the matrix properties filter tab
with an expression like:

Fields!ContractNo.Value<>Nothing

However there doeas not appear to be a <> (or not equal to) operator in the
drop-down list in RS2000.

How do I achieve this filter?

What is the != operator?

TIA,
Jacek
7/31/2006 9:33:02 AM
!= is 'does not equal to'

does it solve your problem? :)


[quoted text, click to view]
Ben Watts
7/31/2006 11:26:31 AM
Dont know if this will help, but the way I have used to get around it is:
Fields!ContractNo.Value<>Nothing in the formula and make the operator the =
and then the value "=true"

Expression Operator
Value
Fields!ContractNo.Value<>Nothing =
=true

I hope this makes sense.


[quoted text, click to view]

magendo_man
7/31/2006 11:53:02 AM
Had to put an equals sign in expression, i.e expression is
=Fields!ContractNo.Value<>Nothing

[quoted text, click to view]
AddThis Social Bookmark Button