3

I have a variable which stores the calculated average of a specific field.

Is there any way to use this variable in the Title band? When I try to do it, I just get null in the Title but the correct value in the Column Footer.

The only other possibility for this I see is, to precalculate it in Java and pass it as an argument, but I'm trying to avoid that.

I'm using JasperReports and iReport in version 3.7.4.

4

1 回答 1

2

变量文本字段都具有属性评估时间。将其设置为两者的报告并且它可以工作。

另请查看http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=67697

于 2012-09-04T12:50:30.010 回答