Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Hide Rows which are Null Expand / Collapse
Author
Message
Posted Tuesday, March 4, 2014 12:24 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, October 15, 2014 10:45 AM
Points: 229, Visits: 700
I have 3 datasets in my report. Dataset 2 and 3 are lookup on Dataset1.
However , my report brings all the records from Dataset1. Which form the groups like Region, Location, Department etc... and the details get populated from Dataset2 and Dataset3 .Since the source is Dataset 1 , it pulls all the rows , with or without values.
I only want to view values in all columns where value is > 0 .
I tried the row visibility option and wrote the expression

IIF(Is Nothing(Fields!Column1.value),True,False)

But get the error : "Report Item expression can only refer to fields within the scope of Dataset"
Also tried,
IF(Is Nothing(Fields!Column1.value, "DataSet2"),True,False)

Also tried Tablix filters but its giving the same error. Can anyone suggest. This is the main and last part and i need to get this going. Any ideas will be appreciated.
Post #1547176
Posted Tuesday, March 4, 2014 1:47 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 2:39 AM
Points: 470, Visits: 483
If values > 0 are to be viewed then in that case why not bring values > 0 only ?
Post #1547196
Posted Tuesday, March 4, 2014 7:23 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, October 15, 2014 10:45 AM
Points: 229, Visits: 700
Since I am using lookup for 2 other datsets , I need to get all values. Its only after its displayed , I want the Nulls to go away
Post #1547328
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse