Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 使用计数函数时报表中的空行_Eclipse_Report_Reporting_Birt - Fatal编程技术网

Eclipse 使用计数函数时报表中的空行

Eclipse 使用计数函数时报表中的空行,eclipse,report,reporting,birt,Eclipse,Report,Reporting,Birt,我在mongodb数据源中使用BIRT报告。我在数一些事件。COUNT函数给出了正确的值,但根据COUNT值,页面末尾有很大的空白。如果计数值较大,则页面的其余部分为空,并且在下一页出现相同的记录,例如: 在这个图像中,页面的其余部分是空的,同样的记录也出现在接下来的页面上。看起来正在打印空白 我的报告是这样的: 计数功能: 我也尝试过使用SUM,但当我使用SUM函数而不是COUNT时,出现了以下错误: org.eclipse.birt.report.engine.api.Engi

我在mongodb数据源中使用BIRT报告。我在数一些事件。COUNT函数给出了正确的值,但根据COUNT值,页面末尾有很大的空白。如果计数值较大,则页面的其余部分为空,并且在下一页出现相同的记录,例如: 在这个图像中,页面的其余部分是空的,同样的记录也出现在接下来的页面上。看起来正在打印空白

我的报告是这样的:

计数功能:

我也尝试过使用SUM,但当我使用SUM函数而不是COUNT时,出现了以下错误:

    org.eclipse.birt.report.engine.api.EngineException: A BIRT exception occurred. See next exception for more information.
Can not convert the value of True to Double type.
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1245)
   at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1224)
   at org.eclipse.birt.report.engine.executor.DataItemExecutor.execute(DataItemExecutor.java:101)
   at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
   at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
   at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.execute(HTMLAbstractLM.java:468)

请帮忙,提前谢谢。

我知道这个问题的原因。如果我们从组中选择“隐藏细节”选项,那么这个问题就会消失