在SSRS中使用RunningValue

时间:2016-11-07 16:44:51

标签: reporting-services ssrs-2012

尝试在报告的矩阵中使用以下表达式:

=RunningValue(Fields!orderCount.Value,SUM,"RedemptionData")

但它给出了错误:

The Value expression for the text box '' has a scope parameter that is not valid for RunningValue, RowNumber or Previous. The scoke parameter must be set to a string constant that is equal to the name of a containing group within the Tablix''.

任何想法我可能做错了什么?

干杯

1 个答案:

答案 0 :(得分:0)

我是个白痴。刚刚意识到这没有范围。使用以下代码完全正常:

=RunningValue(Fields!orderCount.Value,SUM,Nothing)