我有以下字段的数据集:如何在SQL Server Reporting Services中的RunningValue函数中指定组?
Serialnumber, Dateofpayment, Paymentamount, Sourcecode and Campaign.
我的数据只有两个类型的广告活动,BS12和BS13。
我试图通过Campaign绘制付款金额的总计。在图表我对Y值以下表达式:
=RunningValue(Fields!PAYMENTAMOUNT.Value, SUM, "Campaign")
不过,我不断收到错误:
The Y expression for the chart 'Chart1' has a scope parameter that is not valid for RunningValue, RowNumber of Previous. The scope parameter must be set to a string constant that is equal to the name of a containing group within the Tablix 'Chart1'.
我抬头多个来源,我觉得我做的正确的事情,Campaign显然是我的Tablix中的一个字段,我已经将它作为字符串输入。为什么发生错误? - 有人能帮我吗?
什么是你的问题? – Luv 2013-05-03 05:47:20
显然,问题是为什么会发生错误? – JackReacher 2013-05-03 05:55:01
你的图表中有哪些分组?你有“Campaign”分组吗? – Jeroen 2013-05-03 06:10:10