Creating a crosstab
It it possible to build your own crosstab? After reading several posts, I believing that there may be a way. I need more control over my crosstabs, and if there is a way to build your own, I'd suely like to know.
The Crosstab would have to be placed into a section other than the "Details" section. I probably like to place it into a group header.
It there a tutorial on this?
Hi Marty,
Building a crosstab could be a solution to some limitations that crosstab could have and, as you said, is a great solution to achieve more control over it.
Lines and boxes should be used to build your own crosstab; they are available from the 'Insert' menu. The user guide contains guidelines and useful information about using those features within Crystal Reports.
The user guide is available at http://help.sap.com/ > SAP BusinessObjects>All Products.
I hope this helps,
Selenia
Similar Messages
-
Need help in creating custom crosstab reports
Hello
I need some help in creating custom crosstab reports.
My current report shows the number of events that have occured over the time in a day
The events and the eventdetails are read from the database before being printed on the crosstab
i.e something like this.
Note : there are no events between 3:00-3:59,5:00-5:59;6:00-6:59,7:00-7:59 (not present in the database)
hence not displayed in the reports
*08/07/2009* 01:00 02:00 04:00 08:00 10:00*
Event X 1 1 4 1 3
Event Y 3 3 2 2 1
Total 4 4 6 3 4
So far so good...
Now i have to enhance my reporting application to include the event details which have not happened i.e to include the time details in the crosstab reports where no events have happened
08/07/2009 01:00 02:00 03:00 04:00 05:00 6:00 07:00 8:00 9:00 10:00
Event X 1 1 0 4 0 4 0 1 0 3
Event Y 3 3 0 2 0 2 0 2 0 1
Total 4 4 0 6 0 6 0 3 0 4
I have fell short of ideas this time around to implement such a thing
Any help in this direction is deeply appreciated
Regards
Srivatsa
Edited by: Srivatsa HG on Jul 8, 2009 10:56 AMHi,
It seems that you are having issue with Crystal Report Design.
Post your question in [Crystal Report Design Forum|SAP Crystal Reports;
That forum is monitored by qualified technicians and you will get a faster response there. Also, all Design queries remain in one place and thus can be easily searched in one place.
Regards,
Shweta -
Error while creating new crosstab using
I am getting the following error while creating a new crosstab object within Swing application. This error has started coming after we applied Oracle patch 9206 on database. The error originates from one of the classes in the olap_api_92.jar.
==========================================================
Wed Feb 02 09:13:51 CST 2005 In BuilderWizardValidateAdapter::wizardValidatePage
oracle.express.idl.util.OlapiException: No more data to read from socket
at oracle.express.idl.ExpressOlapiDataSourceModule.DefinitionManagerInterfaceStub.crtCurMgrs2(DefinitionManagerInterfaceStub.java:927)
at oracle.express.olapi.data.full.DefinitionManagerSince9202.createOLAPICursorManagers(DefinitionManagerSince9202.java:611)
at oracle.express.olapi.data.full.ExpressDataProvider.createCursorManagers(ExpressDataProvider.java:1325)
=========================================================
Please check the BIcheckconfig output. It does not show any errors.
=========================================================
<?xml version="1.0" encoding="UTF-8" ?>
<BICheckConfig version="1.0.2.0">
<Check key="JDEV_ORACLE_HOME" value="C:\Mohan\Installs\Jdev904"/>
<Check key="JAVA_HOME" value="C:\Mohan\Installs\Jdev904\jdk"/>
<Check key="JDeveloper version" value="9.0.4.0.1419"/>
<Check key="BI Beans release description" value="BI Beans 9.0.4 Production Release"/>
<Check key="BI Beans component number" value="9.0.4.23.0"/>
<Check key="BI Beans internal version" value="2.7.5.32"/>
<Check key="host" value="db03schgefage"/>
<Check key="port" value="1521"/>
<Check key="sid" value="biolapp"/>
<Check key="user" value="nairs5"/>
<Check key="Connecting to the database" value="Successful"/>
<Check key="JDBC driver version" value="9.2.0.4.0"/>
<Check key="JDBC JAR file location" value="C:\Mohan\Installs\Jdev904\jdev\lib\patches"/>
<Check key="Database version" value="9.2.0.6.0"/>
<Check key="OLAP Catalog version" value="9.2.0.6.0"/>
<Check key="OLAP AW Engine version" value="9.2.0.6.0"/>
<Check key="OLAP API Server version" value="9.2.0.6.0"/>
<Check key="BI Beans Catalog version" value="N/A; not installed in nairs5"/>
<Check key="OLAP API JAR file version" value="9.2"/>
<Check key="OLAP API JAR file location" value="C:\Mohan\Installs\Jdev904\jdev\lib\ext"/>
<Check key="OLAP API Metadata Load" value="Successful"/>
<Check key="Number of metadata folders" value="3"/>
<Check key="Number of metadata measures" value="569"/>
<Check key="Number of metadata dimensions" value="5"/>
<Check key="OLAP API Metadata">
<![CDATA[==============================================================================
Type Name (S=Schema, C=Cube, M=Measure, D=Dimension)
========= ====================================================================
Folder... ROOT
Folder... Auto Claim Measures
Folder... Service Measures
Folder... Claim Counts
Folder... Cell Summary Cube
Folder... Actual Measures
Measure.. Actual Acceptance Rate
Measure.. Actual Annualized Bill amt
Measure.. Actual Application Count
Measure.. Actual Avg Annual Billing
Measure.. Actual Contacts Count
Measure.. Actual Commission Amt
at oracle.express.olapi.data.full.ExpressDataProvider.internalCreateCursorManager(ExpressDataProvider.java:680)
at oracle.express.olapi.data.full.ExpressDataProvider.createCursorManager(ExpressDataProvider.java:586)
at oracle.olapi.data.source.DataProvider.createCursorManager(DataProvider.java:268)
at oracle.dss.dataSource.QueryUtilities.setUpCursors(QueryUtilities.java:559)
at oracle.dss.dataSource.QueryServer._setUpCursorsForMainQuery(QueryServer.java:7039)
at oracle.dss.dataSource.QueryServer._getCursorForCube(QueryServer.java:4098)
at oracle.dss.dataSource.QueryServer._updateCube(QueryServer.java:4055)
at oracle.dss.dataSource.QueryServer._applySelections(QueryServer.java:2661)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.dss.util.Operation.execute(Operation.java:69)
at oracle.dss.dataSource.OperationQueue.update(OperationQueue.java:68)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
at oracle.dss.dataSource.QueryServer.queueOperation(QueryServer.java:7076)
at oracle.dss.dataSource.QueryServer.applySelection(QueryServer.java:2192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.dss.util.Operation.execute(Operation.java:69)
at oracle.dss.dataSource.QueryManagerServer.sendQueue(QueryManagerServer.java:1549)
at oracle.dss.dataSource.common.OperationQueue.update(OperationQueue.java:198)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:176)
at oracle.dss.dataSource.common.BaseOperationQueue.addOperation(BaseOperationQueue.java:146)
at oracle.dss.dataSource.common.OperationQueue.addOperation(OperationQueue.java:127)
at oracle.dss.dataSource.client.QueryClient.applySelection(QueryClient.java:970)
at oracle.dss.dataSource.common.QueryQueryAccess$SelCursor.getDataAccess(QueryQueryAccess.java:1133)
at oracle.dss.dataSource.common.QueryQueryAccess.getDataAccess(QueryQueryAccess.java:278)
at oracle.dss.datautil.QueryAccessUtilities._getValues(QueryAccessUtilities.java:639)
at oracle.dss.datautil.QueryAccessUtilities._getValues(QueryAccessUtilities.java:705)
at oracle.dss.datautil.QueryAccessUtilities.getValues(QueryAccessUtilities.java:608)
at oracle.dss.queryBuilder.QueryBuilderUtils.getSelectedMeasures(QueryBuilderUtils.java:623)
at oracle.dss.queryBuilder.SelectedItemsPanel.populateTree(SelectedItemsPanel.java:298)
at oracle.dss.queryBuilder.SelectedItemsPanel.refreshTree(SelectedItemsPanel.java:333)
at oracle.dss.queryBuilder.SelectedItemsPanel.setActive(SelectedItemsPanel.java:366)
at oracle.dss.queryBuilder.ItemsPanel.setActive(ItemsPanel.java:251)
at oracle.dss.datautil.gui.DefaultBuilderDialog.setActive(DefaultBuilderDialog.java:1072)
at oracle.dss.datautil.gui.DefaultBuilderDialog.validateNextPreviousEvent(DefaultBuilderDialog.java:1396)
at oracle.dss.datautil.gui.DefaultBuilderDialog$BuilderWizardValidateAdapter.wizardValidatePage(DefaultBuilderDialog.java:2113)
at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
at oracle.bali.ewt.wizard.WizardPage.validatePage(Unknown Source)
at oracle.dss.datautil.gui.CustomImageWizardPage.validatePage(CustomImageWizardPage.java:81)
at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
at oracle.dss.datautil.gui.CustomWizard.doNext(CustomWizard.java:415)
at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.dss.datautil.gui.DefaultBuilderDialog.runDialog(DefaultBuilderDialog.java:489)
at oracle.dss.datautil.gui.DefaultBuilderDialog.run(DefaultBuilderDialog.java:466)
at oracle.dss.queryBuilder.QueryBuilder.run(QueryBuilder.java:2401)
at gecf.pmg.PmgBiOlapApp.newCrosstabWiz(PmgBiOlapApp.java:1622)
at gecf.pmg.PmgBiOlapApp.mNewCrosstab_ActionPerformed(PmgBiOlapApp.java:1563)
at gecf.pmg.PmgBiOlapApp$5.actionPerformed(PmgBiOlapApp.java:696)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)I suspect that you have either not fully applied the patch or alternatively the patching process did not complete.
If you are using an analytic workspace, connect as OLAPSYS account and run the following commands:
exec CWM2_OLAP_METADATA_REFRESH.MR_REFRESH
exec CWM2_OLAP_METADATA_REFRESH.MR_AC_REFRESH
If this does not resolve the error, and assuming your system worked prior to applying the 9206 patch, then the patch may need to be reapplied.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
How do I 'remove' a dimension from a cube when creating a crosstab?
I have a CUBE with 9 dimensions and one measure, This is based of a fact table that has a Materialized View with just 4 dimensions.
In JDeveloper I used the wizard to create a new crosstab using just the four dimensions that exist in the MV (removing the others).
....eventually the page was generated but it takes minutes....
Q. Is there a way to 'DROP' a dimension from JDeveloper crosstab when you query a CUBE?
[It looks like Oracle is internally using all 9 dimensions when some are "Hidden" or not required!]
The only solution I have found is to create an extra CUBE using just the 4 dimensions (this works within couple of seconds)! But I will end up with 6 CUBES holding different dimensions combination, this feels wrong?
Q2. Is it bad practice to have multiple CUBES all based on one fact table, just to improve performace?
I hope you can help.
Stevei think this question is more for the technical teams at the olap forum ;)
nevertheless: if you have a cube defined with 9 dimensions,all of them are necessary for retrieving the data, "hiding" some of them is possible by the means of "hidden dimensions"
nevertheless you have to specify which dimension, value gets substitued for those dimensions: usually it is a TOTAL level.
otherwise your results may be misleading or wrong, so specifying a dimension value for those hidden dimensions is the only choice to be consistent with the OLAP data model
btw: you can easily use a materialized view in this environment as well, when using the concept of a TOTAL dimension value
regards,
thomas -
How to create a crosstab based on BW Query which has key figure structure
Hi,
We are on CR 2008 SP1.
We have an existing BW query with custom Characteristics structure in the "Columns" section and a custom Key Fugure structure in the "Rows" section in the BW query designer.
Cell editor has been used to define formulas of the cells.
We wish to build a crystal report on top of the query.
On the crystal report on top of the query we get the characteristics structure and individual key figure elements. As already discussed in multiple fourm posts, this is the expected behaviour.
We are using a cross tab and in the column section, I have put the "Characteristic" structure in the "columns" section in the crosstab using the crosstab expert. This leads to horizonatal column headings as per expectation.
Within the characteristics structure we have multiple fields which description "%" with diffeent formula's defined on the BW query designer. On the Cyrtsl Report, when we get the columns in the crosstab, we get only a single "%" field. All other "%" fields are not visible.
A. Is there a way to get all fields in in case of same description?
I tried putting in the Key Figure elements in the "Rows" section, but was not able to get desired output.
Experts: Can you advice how this report can be built?
Any help will be appretiated.
RgdsI am interested... How did you solve it?
-
When I create a crosstab it gives an error (problem with the catalog)
BIB-10310 Si è verificata uneccezione sconosciuta.
BIB-10801 Si è verificato un errore durante il salvataggio di un oggetto MDObject.
BIB-14060 Si è verificato un errore durante lassociazione.
Also when I create a OLAP Connection, the connection success, but can't retrive metadata because the metadata in the catalog is not valid.
I also apply OLAP patchset to update catalog.
I execute the script generated by OWB and from the enterprice manager, there is cube now, but there isn't misure folder.
Someone can tell me what is the problem.
ThanksThis is the error when I create an OLAP CONNECTION:
connection established but unable to retrive metadata:
oracle.express.ExpressServerExceptionClasse di errore: unknown Error
errore server description:
INI: there is a system error., Generico in TxsOqConnection::getDefaultDatabase
at oracle.express.olapi.data.full.ExpressDataProvider.getMetadataProviderInterface(ExpressDataProvider.java:1141)
at oracle.olapi.metadata.MetadataFetcher.initialize(MetadataFetcher.java:76)
at oracle.olapi.metadata.MetadataFetcher.<init>(MetadataFetcher.java:48)
at oracle.olapi.metadata.BaseMetadataProvider.<init>(BaseMetadataProvider.java:59)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.<init>(MdmMetadataProvider.java:145)
at oracle.express.olapi.data.full.ExpressDataProvider.getDefaultMetadataProvider(ExpressDataProvider.java:1102)
at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.getMdmMetadataProvider(MDMMetadataDriverImpl_92.java:1283)
at oracle.dss.metadataManager.server.drivers.mdm._92.MDMMetadataDriverImpl_92.attach(MDMMetadataDriverImpl_92.java:940)
at oracle.dss.metadataManager.server.drivers.mdm.MDMMetadataDriverImpl.attach(MDMMetadataDriverImpl.java:130)
at oracle.dss.metadataManager.server.MetadataManagerImpl.buildObjectModel(MetadataManagerImpl.java:1171)
at oracle.dss.metadataManager.server.MetadataManagerImpl.attach(MetadataManagerImpl.java:1027)
at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:943)
at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:840)
at oracle.dss.addins.designer.OLAPSource.test(OLAPSource.java:302)
at oracle.dss.addins.wizard.configFileEditor.OlapPanel.testConnection(OlapPanel.java:244)
at oracle.dss.addins.wizard.configFileEditor.OlapPanel.btnTest_actionPerformed(OlapPanel.java:378)
at oracle.dss.addins.wizard.configFileEditor.OlapPanel$3.actionPerformed(OlapPanel.java:120)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.dss.addins.wizard.configFileEditor.ConfigFileEditorWizard.run(ConfigFileEditorWizard.java:229)
at oracle.dss.addins.designer.BIDesignerImpl.editConfigFile(BIDesignerImpl.java:1428)
at oracle.dss.addins.designer.BIDesignerAddin.openBIDesignerSettings(BIDesignerAddin.java:990)
at oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(BIDesignerAddin.java:807)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) -
Creating a Crosstab/Pivot report in Oracle Apex
Hello,
I want to create a matrix view of a report in the following format. tried a lot of ways llike data pivoting, etc. but most of the ways use aggregate functions.
format in which i require data is:
ID NAME LEVEL PROJECT LOCATION ORACLE FORMS ORACLE REPORTS JAVA C++
AAA123 ABC 2 AB AC Expert Aware Expert
AAA124 DEF 3 BC AD Expert Proficient Aware
The data in the table/view is in the format:
ID NAME LEVEL PROJECT LOCATION Description Proficiency_ID
AAA123 ABC 2 AB AC ORACLE FORMS Expert
AAA123 ABC 2 AB AC ORACLE REPORTS Aware
AAA123 ABC 2 AB AC JAVA Expert
and similarly for other ID's.
Since i need character values, aggregate functions would not be of much use.
Thanks
Varun
Can anyone help me with this????Hi Arnaud,
Saw the documentation that you had added and thanks for that..........but it is using sum(decode(...................
which is an aggregate function but when i want to print character values for a certain distinct column value, that is where i am facing a problem..
Hope you understood what i am saying:
the id, name, level, prject, location will remain uniques and then i want proficiency to be put against each technology in a single row with al the technologies being disitnct columns..
Thanks
Varun -
Error creating graph,crosstab,table...everything
after having create a relational schema and OLAP objects (cube,dim,measures) I try to create a presentation on that schema but i have this error:
BIB-9509 Oracle OLAP non ha creato il cursore
oracle.express.itl.util.OlapiException: ORA-00600 codice errore INT.,argom:[17099],[],[],[],[],[],[]
ORA-00600:codice errore INTO. argom.:[KGHALO2],[0x0],[],[],[],[],[]
ORA-06512: a "SYS.GENDEFINITIONMANAGERINTERFACE",line 0
ORA-06512: a line 1
Someone can help me?
thanxs in advancehi
the "ora-00600", which is part of your trace snipplet is usually a sign that something has gone wrong on the server side.
i think it is best to open up a tar, because the tar analyst can brief you on the details (the "arguments" after the ora-600 message)
regards,
thomas -
Create a crosstab with hierarchy in the middle with SDK
Here is how our crosstab looks like:
<Hierarchy> | <measure1> | <measure2> | <measure3>
-----------------------|---------------------|---------------------|----------------
Level 1 | 254 | 212 | 22
Level 1.1 | 200 | 111 | 14
Level 1.1.1 | 54 | 101 | 8
Level 2 | 13 | 0 | 0
This is our requirement:
<measure1> | <measure2> | <Hierarchy> | <measure3>
--------------------|---------------------|------------------------------|----------------
254 | 212 | Level 1 | 22
200 | 111 | Level 1.1 | 14
54 | 101 | Level 1.1.1 | 8
13 | 0 | Level 2 | 0
Is this possible (with SDK)?Thats possible, check the simplecrosstab demo of the sdk (renderTable function).
You have to look up whether the
dimension has
members with
hierarchy nodes
and levels,
then render it the way you want -
Hi,
I have the below sql query,
select pool round((bytes/1024/1024),2) "Bytes in MB" from v$sgastat where name='free memory' order by pool;
POOL Bytes in MB
java pool 448
large pool 7029
shared pool 576
I wish to write a crosstab sql query to get the output as below,
java pool large pool shared pool
448 7029 576
How to wirte this sql ?
Thanks.select max(case when pool = 'java pool' then mb end) "Java Pool"
, max(case when pool = 'large pool' then mb end) "Large Pool"
, max(case when pool = 'shared pool' then mb end) "Shared Pool"
from ( select pool
, round((bytes/1024/1024),2) mb
from v$sgastat
where name ='free memory'
order by pool
);or
select max(case when pool = 'java pool' then round((bytes/1024/1024),2) end) "Java Pool"
, max(case when pool = 'large pool' then round((bytes/1024/1024),2) end) "Large Pool"
, max(case when pool = 'shared pool' then round((bytes/1024/1024),2) end) "Shared Pool"
from v$sgastat
where name ='free memory';Edited by: hoek on May 5, 2010 2:58 PM -
I want to create a crosstab type query
I'm trying to output a table something like this below.
Product_1
Product_2
Characteristic_1 i.e. length
10
20
Characteristic_2 i.e. diameter
5
15
How do I do this? My current code creates the table below. You can see Product drops down rather than across and the product characteristics repeat which I don't want. Please help.
Test Product 1
Where Used
WU test
Maximum Flow Rate
(UV dose >30,000 µWs/cm2)*
Max flow test
Inlet/Outlet Size (inch NPT)
I/O test
Lamp Power (watts)
Lamp test
Chamber Size
Diameter X Length (inch/mm)
Chamber test
Test Product 2
Where Used
WU test 2
Maximum Flow Rate
(UV dose >30,000 µWs/cm2)*
MF test 2
Inlet/Outlet Size (inch NPT)
I/O size test 2
Lamp Power (watts)
lamp power test 2
Chamber Size
Diameter X Length (inch/mm)
chamber size test 2You could also take advantage of how the CF Query data is stored - in ColdFusion your queries are a structure of arrays:
<cfquery name="qTest">
SELECT fieldA, fieldB, fieldC
FROM table123
</cfquery>
gives you a resulting CF query object that looks like this:
qTest.fieldA[1] = row 1's fieldA value
qTest.fieldA[2] = row 2's fieldA value
qTest.fieldB[1] = row 1's fieldB value
qTest.fieldB[2] = row 2's fieldB value
qTest.fieldC[1] = row 1's fieldC value
qTest.fieldC[2] = row 2's fieldC value
Combine that with the qTest.columnList attribute and you should have all the tools you need to set up your results the way you want. -
How to create a drill down in crosstab?
Hi All,
I have created a crosstab in CRXI repoprt. Now I'm trying to create a drill down in it. The crosstab is very simple.
Data in table is as:
SUBJECT DATE YIELD PCT
Browser 04/11 78.90
Radio 04/13 90.00
HTTP 04/22 89.09
Browser 04/15 90.09
HTTP 04/15 100.00
Radio 04/15 100.00
CROSSTAB Data:
Browser HTTP Radio
04/11 78.90 0 0
04/13 0 0 90.00
04/15 90.09 100.00 100.00
04/22 0 89.09 0
Columns are "SUBJECT" and Rows are "DATE" and I have taken "Max of Yield PCT" as Summation field.
Now If I click on Yeild_PCT data in crosstab, it should drill down. I have created a drill down as Another report. I have tried FormatObject>Hyperlink>"Another Report Object". Copied the yield_PCT column from source report & pasted in "Another Report Object" but it is not working.
Really appreciate any help.
Thanks in Advance.if you're trying to use drill-down in cross-tabs with report parts you need syntax that is specific to a cross-tab. please look up Report Parts in your Online Help, Index and then go to the Context Scenarios section.
Cross-tabs
If the object you copy in your source report is part of a cross-tab, the Context Report Part data context is based on the selected object embedded in the cross-tab. Crystal Reports creates the data context by tracking if the selected object in the cross-tab is a row, column, or cell. Next, the program retrieves row and column names. Then it parses the Design view data context. Finally, it generates the Context Report Part data context by adding the GridRowColumnValue function if the group in the data context formula appears in the row or column names retrieved earlier. You might see, for example, a data context such as:
"/"GridRowColumnValue("Customer.Country")"/"+GridRowColumnValue("Customer.Region") -
"EmptyBorder" when creating Crosstab presentation in JDeveloper
Hi,
I have install oracle 10G as database and connect to the oracle olap using Jdeveloper (come with Oracle Developer Suite 10G), I try to create a crosstab presentation but it fail with the following error,
java.lang.ClassCastException: javax.swing.border.EmptyBorder
at oracle.dss.dataView.gui.FontColorTool.<init>(FontColorTool.java:97)
at oracle.dss.gridView.gui.GridViewToolBar.initialize(GridViewToolBar.java:181)
at oracle.dss.gridView.gui.GridViewToolBar.<init>(GridViewToolBar.java:104)
at oracle.dss.addins.editor.presentation.GridViewEditorBar.<init>(GridViewEditorBar.java:14)
at oracle.dss.addins.editor.presentation.PresentationEditor$PresPanel.init(PresentationEditor.java:631)
at oracle.dss.addins.editor.presentation.PresentationEditor$PresPanel.<init>(PresentationEditor.java:612)
at oracle.dss.addins.editor.presentation.PresentationEditor.createPresPanel(PresentationEditor.java:268)
at oracle.dss.addins.editor.presentation.PresentationEditor.getGUI(PresentationEditor.java:391)
at oracle.ideimpl.editor.EditorFrameImpl.setEditor(EditorFrameImpl.java:653)
at oracle.ideimpl.editor.EditorManagerImpl.openEditorInFrame(EditorManagerImpl.java:677)
at oracle.ideimpl.editor.EditorManagerImpl.openDefaultEditorInFrame(EditorManagerImpl.java:641)
at oracle.ideimpl.editor.EditorManagerImpl.openDefaultEditorInFrame(EditorManagerImpl.java:618)
at oracle.dss.addins.designer.BIFolder.addObject(BIFolder.java:228)
at oracle.dss.addins.designer.BIDesignerImpl.addObject(BIDesignerImpl.java:1560)
at oracle.dss.addins.wizard.presentation.PresentationWizardDialog$CloseDialog.run(PresentationWizardDialog.java:474)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Below is my database component version,
Oracle Database Catalog Views 10.1.0.2.0 VALID
Oracle Database Packages and Types 10.1.0.2.0 VALID
Oracle Workspace Manager 10.1.0.2.0 VALID
JServer JAVA Virtual Machine 10.1.0.2.0 VALID
Oracle XDK 10.1.0.2.0 VALID
Oracle Database Java Packages 10.1.0.2.0 VALID
Oracle Expression Filter 10.1.0.2.0 VALID
Oracle interMedia 10.1.0.2.0 VALID
Oracle Data Mining 10.1.0.2.0 VALID
Oracle Text 10.1.0.2.0 VALID
Oracle XML Database 10.1.0.2.0 VALID
OLAP Analytic Workspace 10.1.0.2.0 VALID
Oracle OLAP API 10.1.0.2.0 VALID
OLAP Catalog 10.1.0.2.0 VALID
Spatial 10.1.0.2.0 VALID
Oracle Enterprise Manager 10.1.0.2.0 VALID
Please adviced.
Thanks in advance.I would recommend applying the 10.1.0.4 database patchset as the database version you are using, 10.1.0.2, is not supported for use with OLAP. You can download the patchset directly from Metalink..
Business Intelligence Beans Product Management Team
Oracle Corporation -
Error while creating BI JSP application
Hello ,
I am trying to create a simple BI JSP application , as per the steps in the Tutorial . I have created a CrossTab report successfully . Also I created the JSP page , embedded the BIThinSession and Presentation tags
successfully .
While trying to launch the JSP , I am getting the following error :
Line : 14
Char : 1
Error : Object Expected
Code : 0
URL : .....
The Contents of the JSP file are as under
<%@ taglib uri="http://xmlns.oracle.com/bibeans/jsp" prefix="orabi"%>
<%@ page contentType="text/html;charset=windows-1252"%>
<!-- Start synchronization of the BI tags -->
<% synchronized(session){ %>
<orabi:BIThinSession configuration="/Project2OLAPConfig1.xml" id="simpleApp">
<orabi:Presentation location="CSTAB1" id="simpleGraph"/>
</orabi:BIThinSession>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Hello World</title>
</head>
<orabi:BIBody>
<form name="BIForm" method="POST">
<!-- Insert your Business Intelligence tags here -->
<orabi:Render targetId="simpleGraph" parentForm="BIForm"/>
<!-- The InsertHiddenFields tag adds state fields to the parent form tag -->
<orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="simpleApp"/>
</form>
</orabi:BIBody>
</html>
<% } %>
<!-- End synchronization of the BI tags -->
The Bi_CheckConfig Utility gives the following output
BI Beans Diagnostics(v1.0.2.0) 8/11/04
===============================================================================
JDEV_ORACLE_HOME .......................... = c:\jdev
JAVA_HOME ................................. = C:\j2sdk1.4.2_01
JDeveloper version ........................ = 9.0.5.2.1618
BI Beans release description .............. = BI Beans 10.1.2 Production Release
BI Beans component number ................. = 10.1.2.5.0
BI Beans internal version ................. = 3.2.0.37.4
Connect to database ....................... = Successful
JDBC driver version ....................... = 9.2.0.4.0
JDBC JAR file location .................... = C:\JDEV\jdbc\lib
Database version .......................... = 9.2.0.4.0
OLAP Catalog version ...................... = 9.2.0.4.0
OLAP AW Engine version .................... = 9.2.0.4.0
OLAP API Server version ................... = 9.2.0.4.0
BI Beans Catalog version .................. = N/A; not installed in bibdemo
OLAP API JAR file version ................. = "10.1.0.3.0"
OLAP API JAR file location ................ = c:\jdev\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 2
Number of metadata measures ............... = 12
Number of metadata dimensions ............. = 8
Metadata output location .................. = C:\JDEV\bibeans\bi_checkconfig\bi_metadata.txt
Could anybody please help ?It would appear you are using the BI Beta release software. This software is only certified with 9205 of the database, the bi_checkonfig output you provided indicates you are using 9204.
Please patch your database and instance to 9205 patchset. These can be downloaded from Metalink:
3501955 Oracle Database Family: Patchset
ORACLE 9I DATABASE SERVER RELEASE 2 - PATCH SET 4 VERSION 9.2.0.5.0
Business Intelligence Beans Product Management Team
Oracle Corporation -
Hello!
I want to create a crosstab report that does not have any blank cells when I export to Excel. When I create the crosstab, it automatically does what looks like a group sort. When I export this to excel, there are a lot of blank cells that need to be filled in. How can I make Discoverer fill them in for me, without using a table format? So that when I export to excel, I can create a pivot table from the data?
Thank you!
MeganMegan,
I don't know what kind of work you are doing. But, keep in mind that de crosstab in Disco. alerady is a pivot table. So, probably you not need to export the data to Excel.
Cheers ~
Eduardo
null
Maybe you are looking for
-
Mail no longer does Entire Message search
I am no longer able to get Mail to do an "Entire Message" search. When I type a word in the Search box, the 'Entire Message' button appears "grayed out", and the only options available with All Mailboxes are From, To, and Subject. I did a Rebuild, I
-
Hi, I have to make a query returning sum(xxx) for given period of 3 h. table looks like: start end xxx 0 3 6 Any suggestions are appreciated Dobby
-
Filter on product search in SAP CRM 2007 User Interface
Hi Experts, I have the following requirement: we need to have the possibility to filter the Products in the Product search in the user interface based on the User's sales organization. Meaning that, if a user belongs to Sales Organization A, he will
-
SDO_BUFFER Geometry in Mapviewer
I'm using the sdo_geom.sdo_buffer procedure to successfully generate a buffer around a point, but I can't seem to get the buffer to display the way I'd like. This is what I am doing to get a gray buffer: mv.addJDBCTheme(dataSrc, "ASSET_CIRCLES", circ
-
Preselect an option in html:select
Hey, I am implementing struts in my application. How do i preselect an option in <html:select> tag here is what i am doing but the option does not get preselected.. the collection below returns A, B , C etc.. <html:select property="accountClass" name