visual-studio - SSRS 报告 - 总和标题 - 不在组中
问题描述
如何对下面分组行中的值求和(在标题行中)?
我想说的是下面的字段总和,而不是“性能”这个词。突出显示的字段称为:Textbox119
当我在上面的行中说
=sum(ReportItems!Textbox119.Value)
我收到以下错误消息:
The Value expression for the text-run Textbox... uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers.
如果这是添加以下行的错误方法......我该怎么做?
解决方案
用鼠标右键你想合计的组字段,选择添加合计,选择之前。在新的 Total 标签旁边输入所需的聚合函数和字段名称,例如:=Count(Fields!Venue.Value)
推荐阅读
- php - 向用户发送批量电子邮件时出错:此连接中的邮件太多 laravel 5.2
- php - 如果过期,我可以使用刷新令牌获取谷歌新访问令牌吗
- laravel - Laravel 创建包含多个图像的帖子数组
- python - Pandas - 使用查询过滤过去 n 个月的数据
- ajax - 在 Wordpress 中使用 Litespeed 缓存插件进行 Ajax 调用缓存
- android - adyen checkout:如何加密卡数据?
- java - java.lang.NoClassDefFoundError: org/openqa/selenium/WrapsElement 错误执行基于 Selenium 的 mvn 测试
- linux - 使用 bash 挂起使用 Ranger 文件管理器选择文件夹
- c - 如何在c程序中读取文件时区分整数变量
- mysql - SQL从指定类别和所有子类别中选择所有产品