Data Extraction from Report Using Data Cubes [message #985172] |
Thu, 15 November 2012 02:53  |
Eclipse User |
|
|
|
I could not extract data (DataExtractionTask) from report cross tab elements using data cubes. I have enabled cube export by using function setCubeExportEnabled.
When I print all the available elements display name, only the name of data cube in use is included, instead of all report elements (cross tab, chart). And I can not extract it and get data. It throws "Result set not found" error.
But I can successfully extract data from report with table and chart elements only.
Anyone got an idea of how to do it? I really stuck here now.
Thx in advance.
==== update =====
I just found this, https://bugs.eclipse.org/bugs/show_bug.cgi?id=177118
Data Extraction supporting Cube is a request here.
In comments, someone said that this is supported since 2.5.0.
Can anybody share some codes about how to do it?
It will really help me a lot, still struggling here.
[Updated on: Thu, 15 November 2012 04:46] by Moderator
|
|
|
|
|
Re: Data Extraction from Report Using Data Cubes [message #988706 is a reply to message #985819] |
Sat, 01 December 2012 12:52  |
Eclipse User |
|
|
|
I'm stuck with the same problem. I can't get to the data of the cross-tab.
If I setCubeExportEnabled to true, I get one resultSet back with the name of the data cube.
But to run the extract()-method of the IDataExtractionTask I tried setting the selected result set with selectResultSet(<name of data cube>), but then I get:
org.eclipse.birt.report.engine.api.EngineException: Result set not found.
Everything works fine with other report item types that use data sets instead of cubes.
All I need is the data that BIRT generates for the cross-tab. Oh well.
|
|
|
Powered by
FUDForum. Page generated in 0.05805 seconds