Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic number of tables in report
Federico
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..
Find more posts tagged with
Comments
kclark
Are you trying to do this in your rptdesign or are you designing the report in Java? I know you can do this fairly easily with some Java code.
Federico
In the rptdesign as the current application works this way.
Any short example for java APIs ?
Thanks
kclark
<a class='bbc_url' href='
http://wiki.eclipse.org/Java_-_Build_Dynamic_Table_(BIRT)'>Here's
a good example</a> showing how to build a dynamic table with BIRT in Java.