Crystal Reports Crosstab 在存在一行时抑制小计
我在水晶报表中使用交叉表,它有 3 个分组级别,这可以在行中创建大量小计。如果只有一行进行求和,则小计行通常是无用的。是否可以在只有一行数据的情况下抑制小计?留下有用的小计(我知道我可以抑制很多)。
下面的插图是我目前的样子:
这就是我希望的样子:
请注意,中间分组 B 和 T 的小计已被删除,只留下 C,因为它下面有两个不同的行。对我来说,这看起来很清楚,如果无法实现,我会感到惊讶。
I am using a crosstab in crystal reports that has 3 grouping levels this can create a lot of subtotals across the rows. Often the subtotal row is useless if there is only one row it is summing from. Is it possible to supress subtotals where there is only one row of data? Leaving the useful subtotals (I know I can suppress the lot).
Illustration below this is how I currently have it:
This is how I would like it to be:
Notice the sub totals for the Middle Grouping B and T have been removed leaving just C as it has two distinct rows below it. To me that looks much cleared and I would be surprised if this can't be achieved.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议跳过 Crystal 交叉表并制作您自己的:
sum({number},{group})
添加一些自定义字段公式。count({number},{group})
在这里会很有用。需要进行相当多的调整才能使其正确,当然,手动交叉表中的列将被修复,但这允许最大程度的自定义。
I recommend skipping the Crystal Crosstab and making your own:
sum({number},{group})
for the custom formula.count({number},{group})
would be useful here.It'll take a fair bit of tweaking to get it right, and of course the columns in your manual crosstab will be fixed, but this allows for the most customization.