Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 How to handle NULLs in 1st row of a XML data soure

Author  Topic 

aaqqqa
Starting Member

1 Post

Posted - 2011-01-20 : 09:10:50
I recently started creating SSRS 2005 reports against WSS 3.0 SP1 lists using an XML data source. I've found that if a value of a field in the first row is NULL then the entire field for every row is dropped.

When the report is previewed, no values show up for that field in any row. If the value in the first row is not NULL, data shows up even if subsquent rows have NULL values. If the fields are refreshed in the data tab these fields drop out and the report encounters errors when previewing.

Other than requesting a default value for a field (which I don't have any control over) is there an alternative method for ensuring that the field doesn't get dropped once the data is brought over to SSRS?

Does this occur in other versions of SSRS or SharePoint?
   

- Advertisement -