Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Dynamic number of tables in report

$
0
0
What is the best approach to create a report containing a series of tables not known at design time?
I have an xml data source describing a set of Tests, each beloning to a system. There are 10 system available, but the xml data source might non contain tests from all systems.

I need to build a summary table for all tests, then one summary table for each system with at least one test in the data source.

e.g.

System Code - System Desc
01 VEHICLE
02 ENGINE
03 FUEL SYSTEM
...
10 CAB

Basically, all report tables are identical except for parameter driven by <SystemCode> tag..
It would be very helpful to create a "template" table and then repeat this table for each System Code found in the xml source.
Also, note that numbers shown in each table cell are calculated based on filters on SystemCode and other xml tags (e.g. Phase and TestResult).
The attached image shows an example of a report and the xml datasource.

Thanks in advance for any idea..


Viewing all articles
Browse latest Browse all 542