您可以在水晶报表中切换分组吗?
是否有可能有一个对基础数据进行分组的报告,但您可以通过报告上的按钮或其他内容禁用分组? 基本上我想要一个分组的“摘要报告”,但随后能够在需要时查看下面的详细信息,而无需单独的报告。
Is it possible to have a report which has grouping on the underlying data but for which you can disable the grouping via a button or something on the report? Basically I want to have a "Summary Report" which is grouped, but then be able to view the detail beneath when required without having a separate report for it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将数据放入组页眉和页脚中,然后在详细信息部分中包含详细数据。 在详细信息部分中,设置基于报表参数的抑制公式。 然后,当您想要详细报告时,将参数传递为 false,它不会抑制详细信息部分。 您也可以通过这种方式切换组的页眉和页脚。
您无法摆脱分组,但如果您想要类似的东西,您可以使用填充分组依据的字段。 如果您想要分组,请在此字段中填写分组所需的数据,如果您想要详细信息,只需将该字段设置为空白,然后隐藏组页眉和页脚。
Put your data in the group headers and footers, then have the detailed data in the details section. In the details section, set a formula on the suppress to be based on a report parameter. Then when you want a detailed report, pass in the parameter as false and it won't suppress the details section. You can toggle the header and footer of the groups this way too.
You cannot get rid of a grouping, but if you wanted to have something similar, you could use a field that you populate to group by. If you want the grouping, you fill in this field with the data you need to group by, and if you want the detail, just leave that field set to blank and then suppress the group header and footer.