Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单元格统计函数sum问题 #1773

Closed
sky199927 opened this issue May 23, 2023 · 2 comments
Closed

单元格统计函数sum问题 #1773

sky199927 opened this issue May 23, 2023 · 2 comments

Comments

@sky199927
Copy link

版本号:

1.5.6

问题描述:

两个纵向分组的合计中,如果第一个数据集的分局渲染超过下方的sum,那么就会把第一个数据集超过的部分统计合并进去。

错误日志&截图:

设计
结果

重现步骤:

SUM(D7)把上面的分组表格从第7列的数量也统计到了下面的合计。

友情提示(为了提高issue处理效率):

  • 积木报表是一款免费报表产品,功能免费源码不开放;
  • 未按格式要求发帖,会被直接删掉;
  • 请针对问题提供报表设计SQL脚本或在官网制作报表示例并提供ID;
  • 针对不好重现的问题,请录制操作视频或详细的重现步骤;
@sky199927 sky199927 reopened this May 23, 2023
@dylvs
Copy link

dylvs commented Jun 7, 2023

看着像是数据填充之后样式变了,除了第一个数据以外的其他数据集里面应该使用的是=sum(表名别名.字段)或者=dbsum(表名别名.字段)吧,可以试试看

@lvdandan16
Copy link
Collaborator

SUM(D7)是按列来计算的,只要是计算那一列的都会计算

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants