加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server-2008 – Sql Server 2008 Reporting Services:使用

发布时间:2020-12-12 06:50:52 所属栏目:MsSql教程 来源:网络整理
导读:我正在构建一个使用两个数据集的报告.当我预览时,我发现这些类型的错误…… Error 19 [rsFieldReferenceAmbiguous] The Value expression for the text box ‘Textbox3’ refers directly to the field ‘PerZipCode’ without specifying a dataset aggregat
我正在构建一个使用两个数据集的报告.当我预览时,我发现这些类型的错误……

Error 19
[rsFieldReferenceAmbiguous]
The Value expression for the text box ‘Textbox3’ refers directly to the field ‘PerZipCode’ without specifying a dataset aggregate. When the report contains multiple datasets,field references outside of a data region must be contained within aggregate functions which specify a dataset scope.

需要什么聚合函数以及在哪里设置此选项?

解决方法

最小值或最大值或平均值等:大部分为 these

需要聚合将其他DataSet减少为一个值(最大值等),因为您使用的不是本地范围内的东西(例如绑定到数据区域的DataSet).无法将其他DataSet中的行与本地范围DataSet进行匹配.

如果您的文本框是独立的(不在数据区域中),则同样适用:需要聚合来告诉SSRS要采取哪一行(最大等)或对数据集执行的计算(平均等)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读