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
精彩评论