简体   繁体   English

Crystal Reports图表详细信息抑制

[英]Crystal Reports Chart Detail Suppression

I have multiple entries each which can have one or more approval stages (with a date). 我有多个条目,每个条目可以有一个或多个批准阶段(带有日期)。 I've been able to use grouping/detail suppression to only retrieve the latest approval stage (as we don't care if it was submitted if it's currently final approval) but no matter what I try the chart always shows every single record which brings back information we don't need to see. 我已经能够使用分组/详细信息抑制功能来仅检索最新的批准阶段(因为我们不在乎它是否是当前的最终批准而已提交),但是无论我尝试什么,图表始终会显示每条记录,返回我们不需要看到的信息。

Does anyone know how to fix this chart so that it only brings back the latest approval stage for each entry (with multiple approval stages)? 有谁知道如何修复此图表,以便仅为每个条目(具有多个批准阶段)返回最新的批准阶段?

image (can't post images yet) 图片 (尚不能发布图片)

Charts, like cross-tabs, act on all of the data in the report. 图表像交叉表一样,作用于报表中的所有数据。 You will need to build the report in a way that the extraneous data is removed. 您将需要以删除无关数据的方式来构建报告。

I would recommend using a SQL-expression field to identify the latest approval stage, then reference this field in the record-selection formula. 我建议使用SQL表达式字段来标识最新的批准阶段,然后在记录选择公式中引用此字段。 See my posting: Crystal Reports: Using SQL Expression Fields . 请参阅我的文章:《 Crystal Reports:使用SQL表达式字段》

If the syntax is unruly, you can always use a Command. 如果语法不规则,则始终可以使用命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM