简体   繁体   English

在SSRS报表生成器中,如何仅在组的最后一行显示某些内容?

[英]In SSRS Report Builder, how to only show something when it's the last row of a group?

I am trying to build a report to only show specific notes below the LAST line in a grouping, but that grouping may only be part of a data set. 我正在尝试构建一个报告,以仅在分组的LAST行下方显示特定注释,但是该分组可能仅是数据集的一部分。

Quick example: I have two orders with three rows of information each. 快速示例:我有两个订单,每个订单都有三行信息。 After each row, I have a row that is hidden, but when visible displays NOTES. 在每一行之后,我都有一个隐藏的行,但是当可见时会显示NOTES。 These two orders are separated by a "line number". 这两个订单由“行号”分隔。 So the data set has 6 rows, but I need to distinguish if a row is the last row of a certain line number, so that the row can then be shown. 因此,数据集有6行,但是我需要区分某行是否是某个行号的最后一行,以便可以显示该行。

I know this is years ago but maybe someone else needs to do this. 我知道这是几年前的事,但也许其他人需要这样做。 Add the row below footer and for its visibility use this Expression: 在页脚下方添加行,并使用以下表达式为其可见性:

pretty simple really: =countrows("DataSet1")<>rownumber("DataSet1") 真的很简单:= countrows(“ DataSet1”)<> rownumber(“ DataSet1”)

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

相关问题 如何在SSRS报表生成器中创建一行而不是一列的子组? - How can I create a child group in SSRS Report Builder that is a row, not a column? SSRS 报表生成器 - 仅在第一页显示页眉(带页码) - SSRS Report Builder - Only Show Header On First Page (With Page Numbers) SSRS(报表生成器)对一行进行排序 - SSRS (report builder) sorting a row 为什么SSRS报告会在组中带来额外的行,以及如何消除它? - Why SSRS report brings extra row in a group and how to get rid of it? 如何在 Microsoft Report Builder 中对多个数据行中的文本行进行分组 - How to group a text row in multiple data rows in Microsoft Report Builder 如何仅通过电子邮件发送带有数据的报表,而不是空的报表-Report Builder 3.0 - How to only email report with data, not when empty - Report Builder 3.0 如何在SSRS报表生成器中隐藏文件夹? - How to hide folder in SSRS Report Builder? SSRS不会在浏览器中显示数据,而是在报表生成器中显示 - SSRS does not show data in browser but OK in report builder SSRS Report Builder - 在条形图上显示零值的列 - SSRS Report Builder - Show colums with zero value on bar chart SQL SSRS报表生成器-无法仅查看视图表? - SQL SSRS Report Builder - cannot see views only tables?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM