简体   繁体   中英

ssrs: one static row matrix, multiple columns will not filter out nulls

Using a ssrs 2005 matrix client side. I want to list the multiple addresses of one person, hence one row, multiple columns. The Column field is =Fields!StreetName.Value . The data details field is =First(Fields!StreetPrefix.Value) & " " & First(Fields!StreetName.Value) . The datasource has a row for each address; however, some rows will have nulls since the datasource is composed of outer joins.

The column grouping works, but the first column is always empty, (first 2 rows of datasource are null) addresses appear only after the empty column. I want to filter out nulls on the matrix, but its like the filter is ignored. I have also tried having the dataset return an empty string for a null streetname and setting the filter to =Fields!StreetName.Value != ="" but no difference.

What am I missing?

Is it not better that you filter your rows in your query? maybe this solution is better.

Have you got the filer in the right place? You can put it on the matrix and on the group.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM