[英]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.