简体   繁体   English

SSRS报表中的数据集过滤-如何仅隐藏0的记录

[英]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: 基于http://www.mssqltips.com/sqlservertip/2597/dataset-and-tablix-filtering-in-sql-server-reporting-services/ ,我在SSRS报告中创建了一个数据集,该数据集返回的结果如下:

在此处输入图片说明

I want to hide rows which contain only 0 using the dataset filtering feature, so that the tablix shows something like this: 我想使用数据集过滤功能隐藏仅包含0的行,以便tablix显示如下内容:

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: 将过滤器中的表达式(单击fx按钮)设置为:

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

Operator: > 操作员:>

and Value: 0 和值:0

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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