Reporting Services中详细信息的可见性单元格

时间:2017-06-27 14:15:01

标签: reporting-services ssrs-2008 reporting

我在Reporting Services 2012中遇到问题。

我想要获取此Tablix:1https://i.stack.imgur.com/P5IEB.jpg

为此,我有一个关于此Tablix的报告。有两个细节单元格,其中" Base"是动态的,结果查询sql。

在第二个细节的可见性细胞中,我有一个表达式:

iif(Previous(Fields!NOMBRE.Value)=Fields!NOMBRE.Value and RowNumber("DataSet1")=CountRows("DataSet1"),false,true)

但是,我的结果是:

enter image description here

我该怎么办?

1 个答案:

答案 0 :(得分:0)

您的表达式仅适用于总计,因为您在计算数据集范围。您可能需要计入组级别。假设您的组名为Detail,则表达式应为:

iif(Previous(Fields!NOMBRE.Value)=Fields!NOMBRE.Value and RowNumber("Detail")=CountRows("Detail"),false,true)