How to speed up Reports / Charts in Application Express?

Very often I get a request to generate an analysis similar to an excel sheet. And, as it is usual with excel, it should contain a table and a chart showing some aggregated information. In the most of the cases, the information displayed in the table has the same source as the information displayed in the chart. The problem occurs then, where there are multiple series in a chart. Depending on the size of the tables, it could take minutes to generate such a report - the same query needs to be run several times, first for the report and then for each series in the chart. Just recently, I had a requirement to create someting like that and it would take two minutes to display a page like this one here:
http://htmldb.oracle.com/pls/otn/f?p=31517:37
The problem is that user needs to query multiple combinations of sales representatives and in that case it would take a long time. On the page I provided the link to, the charts
and the report are created at almost the same time. The trick is the following:
1. Instead of using creating a separate queries for each series in the chart and report, I
used collections,
2. the collection is getting populated in one single run
3. both, the table and the charts are generated from the collection
This way, I was able to bring the reporting time to a minimum.
Denes Kubicek

See the login page of my demo application. Everything you need is explained there.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • How to disable password complexity rules at application express 4.2 installation?

    Please, provide me how to disable password complexity rules at application express 4.2 installation.
    Best Regards,
    Moustafa

    According to the manual you need to check "Configuring Password Protection" in Oracle Database Security Guide
    In the security guide http://docs.oracle.com/cd/B28359_01/network.111/b28531.pdf, section 3-9/p61, you'll see you need to alter the script UTLPWDMG.SQL. You''l find the script in ORA_HOME/rdbms/admin.
    You'll need to change the script to your own liking.

  • How to generate crystal report in sap application

    hi,,
    i  want to  generate crystal report  through sap application...
    How  is it possible ....?
    could you help me  in details?
    Plz  help me???????????

    STEP 1: Like any other add-on project, refer SBO UI and DI COM to your project. Initialize SBO APPLICATION object and SBO COMPANY object and listen to events. (This is standard add-on project steps)
    STEP 2: Add a Dataset to the project. This is used as a data source to your Crystal Reports. (For more information on this search for Push Technique Crystal Reports)
    STEP 3: Add a Windows Form to your Project.
    STEP 4: Add a Crystal Report Control to it.
    STEP 5: Design report based on dataset added above.
    STEP 6: Launch this Form with required parameters and selection criteria when any even happens.
    Remember there is lot stuff available on net if you search with PUSH TECHNIQUE CRYSTAL REPORT. SAP SDN has lot answers for adding Crystal Reports integration to SAP Business One Add-On.
    HTH
    B Ravi Shankar

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How does Windows Error Reporting identify your application?

    When an error occurs and you are requested to send an error report, how does Windows Error Reporting service identify your application so that you can view the reports in your dashboard?
    How do I register my applications for Windows Error Reporting?
    To get a Windows logo an application must only handle expected errors and allow Windows Error Reporting (WER) to handle unexpected errors according to an article at
    http://blogs.msdn.com/b/amitava/archive/2007/07/24/certified-for-windows-vista-logo-test-case-faq-test-case-32.aspx

    An article How can a company get access to Windows Error Reporting data? at
    http://blogs.msdn.com/b/oldnewthing/archive/2005/08/10/449865.aspx hints that the link is a registered code signing certificate.
    https://sysdev.microsoft.com/en-US/Desktop/member/services/UpdateDigitalSignature.aspx

  • How to Call Crystal Reports from Swing Application

    Hi All,
    I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
    Thanks in advance.
    Chandra

    hi
    this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
        import java.awt.*;
        import javax.swing.*;
        import com.crystaldecisions.ReportViewer.*;
        import com.crystaldecisions.reports.sdk.*;
        import com.crystaldecisions.sdk.occa.report.reportsource.*;
       public class HelloSwing
            public static void createAndShowGUI()
                try
                    //Make sure we have nice window decorations.
                    JFrame.setDefaultLookAndFeelDecorated(true);
                    //Create and set up the window.
                    JFrame frame = new JFrame("HelloWorldSwing");
                    frame.setTitle( "Testing Reports");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                    viewer.init( new String[0], null, null, null);
                  ReportClientDocument rpt = new ReportClientDocument();
                    rpt.open( "report path", 1 );
                    IReportSource rptSource = rpt.getReportSource();
                    viewer.setReportSource( rptSource );
                    frame.getContentPane().add( viewer, BorderLayout.CENTER );
                    frame.setSize( 700, 500 );
                    frame.setVisible(true);
                    viewer.start();
                catch ( Exception exception )
                    System.out.println( exception.toString() );
            public static void main(String[] args)
                javax.swing.SwingUtilities.invokeLater(new Runnable()
                    public void run()
                        createAndShowGUI();
       there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
    specify the key in the CRConfig.xml file (which also has to be imported in the package)
    u can find these jar files in the common objects folder in your program files.
    hope it helps. best of luck

  • How to read xml reports from external application

    Hi All,
    I want to generate reports from SIEBEL Database and access those reports from external application(like BlackBerry application). I have gone through by some blogs and found that we can access the generated reports from an external application using the URL.
    When I use this URL on browser it gives me the xml file of the report. But I am unable to read this file from the Blackberry application.
    Thanks in advance

    Hi Angha,
    I want to invoke other portal application from my application.
    Portal URL's also get changed from one system to Other. Prototype Portal->Development Portal -> Quality Portal->Production Portal>
    All the above Portal URL will be different.
    I want trigger another application dynamically.
    Thx & Rgds
    AW

  • How to call oracle reports from ADF application.

    Hi
    I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.

    There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
    Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
    Dario

  • Interactive Report in oracle application Express

    Hello,
    I am new User in oracle application express apex . I've created interactive report .when i click download option then choose html format. but there are some
    problem .there are no header and footer in the page. how to add dynamic header and footer in the page .please help me .
    Md. Masum Manzil
    01925110083

    Try making your column definition as "Remove HTML and escape special characters".
    I tried it and it make the column appear as editable as intended and also clicking on the column heading or on the filter in the IR bar behave properly.

  • Create organizational charts using application express

    I would like to create organizational charts using the application express(HTMLDB). How do I go about it?
    I also tried the Aria sample application for HTMLDB 2.0, but when I try to run the scripts it asks for some bind variable parameters ' :NEW ' and ' :OLD ' which I could not identify. Can anybody help with understanding the standard inputs to this?

    A perfectly reasonable question, phrased in
    a perfectly reasonable way (in my opinion).
    On this, I believe, we'll have to agree to disagree. I point you to the following document,
    particularly the section "Questions Not To Ask":
    I'm not sure why you feel the need to point me at a
    document entitled "Questions Not To Ask",
    particularly when I wasn't the one asking the
    question....I pointed you to the section "Questions Not To Ask" in the document entitled "How To Ask Questions The Smart Way" not because I believe you need help asking questions, but because the advice given in that document directly contradicts your opinions:
    "Q: How can I use X to do Y?
    A: If what you want is to do Y, you should ask that question without pre-supposing the use of a method that may not be appropriate. Questions of this form often indicate a person who is not merely ignorant about X, but confused about what problem Y they are solving and too fixated on the details of their particular situation. It is generally best to ignore such people until they define their problem better."
    I admit, I failed to follow the advice of ignoring the person when I first replied, but the issue is whether it was an appropriate question, which I think this quote clearly indicates it is not.
    Robert

  • How to integrate Oracle Maps in Oracle Application Express (ApEx 3.2)?

    I have an Oracle Application Express (ApEx 3.2) application into which I want to embedded Oracle Maps.
    Can any one help me out. I need the steps for integrating Oracle Maps in Oracle Application Express (ApEx 3.2)
    Thanks.

    use ODBC and ADO. Visual Studio packager has an ability to include ODBC settings, i think, if you define Option Explicit (if i am not wrong, long time no code writing in VB6)

  • How to access OBIEE report in J2EE application?

    Hi All,
    I need to integrate OBIEE with my J2ee application. The scenario is something like
    i need to access the reports(that were created by BI Answers) via my j2ee application. I will provide a simple screen and the user will enter a value and i need to pass the value to OBIEE .Then it will filter out the data based on that value and shows to the user.
    I have tried it by using GO URL and i am able to access the OBIEE environment but when i tried to pass the value it doesn't navigate.Even i am not able to search a particular report.
    How could i proceed? Should i use some variable to store the data that is passed for search in OBIEE?
    Pls help me t solve out this. Any idea is highly appreciated.
    Thanks
    Ashok

    STEP 1: Like any other add-on project, refer SBO UI and DI COM to your project. Initialize SBO APPLICATION object and SBO COMPANY object and listen to events. (This is standard add-on project steps)
    STEP 2: Add a Dataset to the project. This is used as a data source to your Crystal Reports. (For more information on this search for Push Technique Crystal Reports)
    STEP 3: Add a Windows Form to your Project.
    STEP 4: Add a Crystal Report Control to it.
    STEP 5: Design report based on dataset added above.
    STEP 6: Launch this Form with required parameters and selection criteria when any even happens.
    Remember there is lot stuff available on net if you search with PUSH TECHNIQUE CRYSTAL REPORT. SAP SDN has lot answers for adding Crystal Reports integration to SAP Business One Add-On.
    HTH
    B Ravi Shankar

  • Bug report: sql developer/application express application import

    I noticed some bugs on deploying an application using sql developer 1.5.1-5440.
    Using a single file deployment generated by apex including install/upgrade/remove scripts: Here's what happens:
    # I tried installing version 1.1 of my application already existing. Connected to the parsing schema of the version 1.0 I can clearly see my app "dashboard(101)"
    # using sql dev I tried an application import. Using the following import options buildstatus =runonly, autoassign app_id and checked run install scripts
    # The install runs, but instead of using the upgrade script it simply runs the install script causing a lot of errors of course since the objects already exist in the schema
    # After this installation the application is visible in the workspace using a browser dashboard(102), however it remains invisible in sql developer where i can still only see dashboard(101)
    After this failure I decided to go ahead and try once more doing the same thing but now just not check run install scripts.
    To my amazement it still runs the install scripts???
    Now I have 3 application showing in the browser and still only 1 in sql developer
    Final problem with sql developer is that I choose to drop dashboard(101) it only deinstalls the application. It does not run the deinstall script for supporting objects included in dashboard(101).
    All this makes an easy deployment a real hassle, since the browser interface can't handle a run only apllication with supporting object as all (it simply doesn't run the install script) I need to use sql developer, which is then fine for the first install, but then doen't upgrade properly. Finaly deinstalling a run only application again is impossible from a workspace and does work from sql developer, but then you still have to do the deinstall of the db objects manually.
    I know as an apex admin I can work arround al this by switching the build status etc etc, but then again I can do anything if I'm apex admin and db sys.Point in having a single file deployment is allowing a novice user to easily install.
    Geert

    Hi Scott
    Thanks for the reply
    sspadafo wrote:
    Run Only applications don't show up in the application list because they should not be editable. But perhaps it could display an icon indicating that.In my opinion they should and they do. The single app that is appearing in the list in sql developer is run only. Having it here allows me to select drop amongst other functionality the browser interface currently still lacks. Even when I drop all apps and than reinstall them again it seems like I can only see 1 version of an app with the same name.
    sspadafo wrote:
    The problem you described where you can't use the Application Install wizard to install supporting objects if the application is set to Run Only should be fixed in the upcoming 3.1.2 release/patch.I've installed the patch and I'm afraid the patch is no good either. Indeed is has improved. After the app installs it shows the supporting object dialogue. But if you then select yes and press Next it does absolutely nothing and redirects tot the application showing Application not available for edit.
    So if you would be so kind to reopen bug 7286162
    So while I'm on this section in my opinion the following bugs exist/features are missing
    SQL Developer interface
    # Not all application for parsing schema are shown in connection explorer. It seems like it can multiple show apps with different names only not when you install the same app twice with different app_id's. Then it only show the lowest app_id.
    # Installing runonly app with supporting objects installs supporting object regardless of option selected
    # Installing runonly app with upgrade scripts ignores update scripts and runs install scripts regardless of "install supporting objects" checkbox's state
    # De installing app shows unpredictable behaviour for running deinstall scripts. It seemingly prompts random. Sometimes it does, sometimes it doesn't. When it does show I get behaviour like initially prompting for running deinstall script, failing to run deinstall script, causing neither app or objects to be dropped, on retry not showing prompt anymore and only dropping app.
    Browser interface
    # Installing a runonly app always finishes with a white page showing only Application not available for edit instead of showing a proper installation summary
    # Installing a runonly app still prevents installation of supporting objects
    # De installing a runonly application is not possible. Possible a button for de install could be included on page 4000:733
    # Unable to perform important application level task from workspace like changing status, alias, global notification, proxy \\      (which are all available in the sql developer interface and imho could all be added to page 400:733 of the browser interface)
    Hope this helps,
    Geert

  • How To View a Discoverer Report In Oracle Applications

    Hi All
    I have 1 problem...
    Im using Oracle Discoverer 4i.
    I have connected to Oracle Applications through Discoverer Administration and created a Business Area and created a report and able to see the report in Desktop Edition, which i connected to Oracle Applications in Desktop Edition also.
    But now my question is how to see that Report in Oracle Applications when i connect to Oracle Applications through explorer and selecting a responsibility
    when i connected to Oracle Applications im not getting the report which i have created.
    Is it possible to view a report in Oracle Applications using Discoverer 4i..
    Please can any 1 help it out ..its very urgent..
    Thanks in Advance..

    Hi,
    You need to have an Apps mode EUL so that you logon with an Applications username and password. You then need to grant privileges to your responsibilities and also set security on your Business Areas so that they can be accessed by your responsibilities.
    Once that is set up, you can create form functions so that you can add links to Discoverer reports in your Applications menus. Metalink Note 278095.1 explains how to do this.
    Hope that helps,
    Rod West

  • How to call BI report  from web dynpro

    Hi ,
    How to call  BI report from webdynpro application  and what are the prerequisites for that .
    Please provide an example to work with BI application frame UI element
    Thanks

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

Maybe you are looking for

  • Full Screen Player Crashes/Quits in Win Server 2003

    I have an application that runs as a projector and is meant to run full screen in a kiosk. However, when the app is expanded to full screen it crashes and I get an error message of: Faulting application test.exe, version 10.0.2.54, faulting module te

  • LOV button in enter query mode

    Hi How do I show LOV button(Forms 9.0.2) in enter query mode?As of now LOV button is displayed only in the create mode. Binod.

  • How do I get rid of Abuchak?

    I don't know if I accidentally downloaded this add on, but how do I get rid of it. It has somehow became my home page when I try to make Yahoo my home page, Abuchak comes up every time. I don't want Abuchak or Google.

  • Thunderbird freezes and lags constantly

    I have been using Firefox for years and loved it above any other email client - until it started lagging a few months back. I don't know what caused it, it just started happening one day and never stopped after several updates and a few un-installs,

  • JRA not showing Object Statistics

    I am having trouble getting JRA to show 'Object Statistics' as well as the 'Heap Overview'. I see the note about requiring parallel gc, but the displays are empty. Any ideas what might be happening? I use these options to start the app: -Xms256m -Xmx