简体   繁体   中英

Dataset filtering in a SSRS report - how to hide records with 0s only

Based on the http://www.mssqltips.com/sqlservertip/2597/dataset-and-tablix-filtering-in-sql-server-reporting-services/ , I created a dataset in a SSRS report which returns results like this:

在此处输入图片说明

I want to hide rows which contain only 0 using the dataset filtering feature, so that the tablix shows something like this:

5     178
399   141
0     750 
12    6
0     26

How do I do that?

Set the expression (click the fx button) in your filter to be:

=Fields!ColumnA.Value + Fields!ColumnB.Value

Operator: >

and Value: 0

尝试筛选器添加到dataset..Following链接可以帮助你.. http://technet.microsoft.com/en-us/library/dd255287.aspx

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