开发者

How can I make a crosstab based on a subreport in BIRT?

I created a report with subreports like in the following tutorial: http://help.eclipse.org/helios/topic/org.eclipse.birt.doc/birt/subreport.13.2.html

But instead to put the subreport in a table element, I want to use a crosstab. So I added a datacube and crosstab based on the dataset from the subreport.

The data in the crosstab allways shows the data from the "default value". And when I remove the default value the crosstab开发者_如何学编程 is empty.

I use BIRT version 2.5.2.

How can I make this work?


When you add the crosstab to the report, do not bind it to the data set directly. Instead, on the data binding area of the crosstab properties set it to "Inherit from Container". This will give you the filtered view of the data you want for your crosstab.


I just did it using the crosstab filters

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜