0

是否存在标识列分组中第一列的表达式或任何方式?我希望该行中的第一列具有一定的值,而其余的则具有另一个值。

像这样:

If column in group = first, then firstValue, else otherValue

我一直在寻找和寻找,无法找到答案。

4

1 回答 1

0

您可以使用 SSRS 中的First函数来获取第一列的值。

=IIF(FIRST(Fields!Column.Value, "ColGrp") = "First", "FirstValue",  "otherValue")

或者您也可以尝试这样的事情,您不必明确定义第一列的值。

=IIF(FIRST(Fields!Column.Value, "ColGrp") = Fields!Column.Value , "FirstValue",  "otherValue")
于 2015-09-16T00:17:47.650 回答