SQL Query for Chart does not work

Have written a query that works fine outside of the app, but no data returned (displayed) within the app. I suspect i could simply create a view with the query in and all would be fine, but i'm intrigued to know why it will not yield data as is. Any ideas? Here's the query:
select * from
select null link, period, data from (
select dp3.period, dp3.data-dp14.data data from
(select period, data from ml_data_daily
where data_point = 3
and category = 'A. 0'
and period_type = 'DAY'
and period >= (select period from ml_period where period_number = :p1_date_start)
and period <= (select period from ml_period where period_number = :p2_date_end)
) dp3,
(select period, data from ml_data_daily
where data_point = 14
and category = 'Invalid Search'
and period_type = 'DAY'
and period >= (select period from ml_period where period_number = :p1_date_start)
and period <= (select period from ml_period where period_number = :p2_date_end)
) dp14
where dp3.period=dp14.period
order by period)
)

Bruce - Make sure the items accessed via the bind variables have been set in session state. If those are just search fields, the chart query won't see them until the page has been submitted.
Scott

Similar Messages

  • Navigation option for chart does not work

    I want to select a graph on a chart and navigat to another report. I selected the navigation radio button under the chart property and selected the destination reports. However, when i click on the chart, it does absolutely nothing.

    I notice the naviation on the chart will only work if you include a dimension table that has an established hierarchy. Is there a way to get the chart to work without including the dimesion table? For example, I have loan_num, borrower_num, and servicer_num on a fact table and i only want to include this on the chart. I want to be able to click on each measure and have it navigate to a corresponding report.

  • Reflow in Adobe Reader for Android does not work

    The reflow option in my Adobe reader for Android does not work. The PDF book I am trying to read is too wide to be legible when I fit it into the screen (even in landscape), but the reflow button doesn't change that. When I click it, nothing happens. The only thing I know to do is to uninstall and re-install, but that did not work. Any other tips or ideas?

    Mehwish,
    Thank you so much for responding, and so quickly. I appreciate it.
    It does not appear as though the PDF I am trying to read would have an element in it that would block it from reflow, but that is always possible. It’s a textbook, and I understand that toward the end of the book there are some charts and diagrams, but I haven’t gotten to those chapters yet. So far, I’ve just been trying to use the Adobe Reader to read the introduction and first chapter and nothing I have done has made it reflow.
    I’m enclosing a copy of the entire book. Perhaps you can uncover something in it that I didn’t see.
    Thanks again for you help.
    Stan
    Dr. Stan G. Duncan
    123 Sumner St.
    Quincy, Massachusetts 02169
    617-855-7539 (hm)
    781-504-6875 (cell)
    215-647-7583 (fax)
    508-295-1630 (Ch)
    <mailto:[email protected]> [email protected]
    <http://homebynow.blogspot.com/> http://homebynow.blogspot.com
    <http://www.huffingtonpost.com/stan-duncan> http://www.huffingtonpost.com/stan-duncan

  • Early Adopter release : Extract DDL for tables does not work

    Hi,
    just had a look at Raptor - really nice tool - easy install - could be a replacement for SQLnavigator for us. One or two things I noticed though ...
    1)
    Export->DDL for tables does not work throws following error
    java.lang.ClassNotFoundException: oracle.dbtools.raptor.dialogs.actions.TableDMLExport
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at oracle.ideimpl.IdeClassLoader.loadClass(IdeClassLoader.java:140)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at oracle.dbtools.raptor.dialogs.BasicObjectModifier.launch(BasicObjectModifier.java:142)
         at oracle.dbtools.raptor.dialogs.BasicObjectModifier.handleEvent(BasicObjectModifier.java:210)
         at oracle.dbtools.raptor.dialogs.actions.XMLBasedObjectAction$DefaultController.handleEvent(XMLBasedObjectAction.java:265)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:530)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:785)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:499)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    and 2)
    when I click on a package body - I get "loading ..." below it but it never puts the
    procedure names in and the "loading ..."message stays in the tree view - however you do get to see the packages in the source window.
    Realise this is very much a work in progress and am grateful to see an early release such as this. Looking forward to the production release.
    Best regards,
    David.

    OK thanks for looking ....you've obviously got the fixes on your to do lists
    Noticed that the SQL tab when you select an object works fine - displays the
    DDL for the object
    Do you think you'll have functionality so you can select many objects (shift left click) and
    then create a DDL script for them? It looks like you can do this for all objects in a schema but
    the ability to select a subset of objects in a schema would be very useful for our DBA's.
    Couldn't see any good reason for keeping using SQLNavigator
    Many congratulations on producing such a useful tool.
    Kind regards,
    David.

  • SQL*Plus COPY command does not work

    SQL*Plus COPY command does not work in SQL Developer. I am using SQL Developer 1.5.1 on Windows XP.
    copy from <source_db_connection> to <target_db_connection> create <target_tab_name> using select * from <source_tab_name>
    Does it work on different versions of SQL Developer ?
    Anyone had any success in trying COPY command in SQL Developer?
    Thanks in advance.

    While it hasn't been updated for v1.5, this page lists the supported SQL*Plus commands. COPY is explicitly listed as not supported.
    theFurryOne

  • Short key for copy does not work all the time now.

    After I have installed the latest OSX - Yosemite, my short key for copy does not work all the time.  It is infrequent how it works. I'm using the same keyboard that I have always used, my wireless logitech keyboard for mac.  Please help.

    I've plugged in my default mac keyboard and the short key copy still does not work.

  • Conditional formatting in the chart  does not work after 10g to 11g upgrade

    W e have upgraded from 10g to 11.1.1.6.8 recently. For all the reports conditional formatting for charts is not working for us which used to work in 10g.
    While researching , i have found that advanced xml needs to be modified. So i changed xml where there is 'untypedLiteral' to 'decimal' and saved the report. Inspite of saving , xml wouldnt change . It still shows as untypedLiteral.
    I also tried to delete the conditional format and recreate again. But still it wouldn't work.
    Please advise.

    W e have upgraded from 10g to 11.1.1.6.8 recently. For all the reports conditional formatting for charts is not working for us which used to work in 10g.
    While researching , i have found that advanced xml needs to be modified. So i changed xml where there is 'untypedLiteral' to 'decimal' and saved the report. Inspite of saving , xml wouldnt change . It still shows as untypedLiteral.
    I also tried to delete the conditional format and recreate again. But still it wouldn't work.
    Please advise.

  • I purchased PSE 13 but have a Vista OS. It was suggested in this chat room that I download PSE 12. I did that & installed. The serial # for 13 does not work. Any thoughts on how I can get a number for PSE 12?

    I purchased PSE 13 but have a Vista OS. It was suggested in this chat room that I download PSE 12. I did that & installed 12.
    The serial # for 13 does not work. Any thoughts on how I can get a serial number for PSE 12?

    Hi
    There is a newer version of Resolution+ Plug-in released for an Qosmio X series
    [Resolution+ Plug-in v 1.1.2004|http://eu.computers.toshiba-europe.com/innovation/download_driver_details.jsp?service=EU&selCategory =2&selFamily=381&selSeries=231&selProduct=7506&sel ShortMod=null&language=13&selOS=all&selType=400&ye arupload=&monthupload=&dayupload=&useDate=null&mod e=allMachines&search=&action=search&macId=&country =all&selectedLanguage=13&type=400&page=1&ID=82406& OSID=30&driverLanguage=42]
    try it out...
    If it has not been installed properly, try rebooting your computer and reverify.

  • The Help Tab (OSX ML) where you search for something does not work

    If I click "Help" and then search "expand" it will show me where expand is. But in CS6 when I clicked it the command would go through and pull up the page to expand pixels. Instead, I have to go find it. It works in every other Adobe app I use except Photoshop CC.
    I am on the latest version and on CC

    Hi Peter
    Thanks a lot for your help (and sorry for not having answered quicker, but my boss gave me a more urgent task last week...).
    Anyway, I did what you suggested (re-importing into a brand new project), and then the search for synonyms really worked! But, being a sceptical person, I did the same with another project, and with that one, it did not work. So, what I did next was compare all the settings of these two projects, and I found a difference.
    RH8 now contains a function that's called 'Teilzeichenfolgensuche' (I don't know the English expression, but have a look at the attached picture: this is a screen shot from the second page when I generate WebHelp). After having done several tests, I came to the following conclusions:
    Search for synonyms does not work in HTML-Help, but it does work in WebHelp (and maybe others, but they are not relevant for me, so I did not test them);
    Search for synonyms does only work, when the function 'Teilzeichenfolgensuche' is NOT activated.
    Could maybe somebody test this, too, and post here whether my conclusions are really correct?
    Btw: This fact is not mentioned in the RH-Manual; actually, this function 'Teilzeichenfolgensuche' is not even mentioned there (at least not in the German edition)!!!
    Can hardly wait to see your feedback; thanks again for everybody's support!
    Kurt

  • My email verification for psn does not work...

    My email verification for psn does not work... [email protected] SORT IT OUT SONY.
    Have had a ps4 since xmas day and am still yet to use it.

    1. You must send access code to a phone number that can receive SMS
    2. You can only use one phone number per iPad; cannot share one number with two devices

  • ReadObject query by idfr does not work first call

    I am running Toplink 10.1.3.0.0 inside the oc4j container. A basic example is that I have an object Employee that has a String attribute id. This class goes to the employee table. I have set an Expression in the Toplink Workbench to do Read Object and it just checks that id = the idfr passed in as an argument. When running the query by the idfr in the container, the idfr is set as the argument and the data exists in the database. With Toplink logging turned onto FINE I see the query being run "select xyz from employee where idfr = x". But the return value from the query is null. But if I run the query through a second time it returns with the correct object. I have tried changing this to a Read All query, and then just accessing the 0th element from the List returned, and this seems to work fine. I am still concerned, though, as to why the Read Object query does not work on the first go around as is expected?

    Any reason you set the Read Object query? The Expression you've provided is the same as what TopLink generates.
    Out of interest, does the problem occur if your primary key attribute is an int/long, or some other numeric type. Does your String attribute value or query id value have trailing or leading spaces? Oracle database will trim leading and trailing blanks on INSERT/UPDATE which can lead to confusion.
    Turn the logging up to FINEST and look for log messages relating to registration of existing objects. If you can post the test code and log that would help.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Create target group for contacts does not work

    Hi Experts,
    I am working on a Markting solution for a University with CRM 5.0.
    We need to contact certain Teachers in Schools (they have an orientation function for pupils that might study in the University in the future).
    I can segment for schools in Segmentbuilder. Now, I need to generate "new target group from contact". In my case the contact person of the school is the Teacher (function type is contact person). This does not work.
    Am I missing some parametrization, or is there a relation to sales area (wich we do not have).
    Hoping for your help. I will regard points generously.
    cristina

    Hi Cristina,
    I understand Schools are crated as Org and Teacher as Persons. There exist a Relationship between these similar to Contact Person (BUR001).
    Now, Follow the process
    1) Create a Data Source in CRMD_MKTDS.
    2) Assign an Infoset Query, as per your scenario.
    3) Assign Function Module "CRM_MKTTG_PF_BP_TAB_TO_CP" to data source
    4) Save, and then create an Attribute List.
    Go to Segment Builder and create target group based on above Attribute List.
    You'll get a list of all the contact persons. For your case, Teachers.
    Hope this helps......
    Regards,
    Vikas
    PS: This will only work if Schools - Org, Teacher = Person and Relationship = BUR001. If you have other criterias please copy Function Module "CRM_MKTTG_PF_BP_TAB_TO_CP" and edit it as per your business case. Then assign this FM in Data Source.

  • Configure exclude for tablespace does not work.

    I have to exclude a tablespace from my full database backups. I have Level-1 and Level-0 backup script.
    run the following command as per documentation.
    CONFIGURE EXCLUDE FOR TABLESPACE DATA_TEMP;
    To reconfirm, if exclude is set.
    run SHOW ALL;
    it shows that exclude is set properly.
    Now i have to restore on another machine and before running the restore i run
    RESTORE DATABASE PREVIEW, just to confirm if backup health is ok.
    it gives me error
    RMAN-00571: =========================================================
    RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ================================================
    RMAN-03002: failure of restore command at 09/28/2007 05:57:32
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    The datafile 10 mentioned in the above error is the 'DATA_TEMP' tablespace which was excluded before taking the backup.
    Restoring the database with RESTORE DATABASE command goes fine and restores the tablespace "DATA_TEMP".
    My question is why RMAN have backuped up a tablespace which is in the exclusion list. i think rman reads its environment settings before starting a backup.
    Have any one have experienced this before. the documentation says nothing about this.
    Thanks.

    sql> restore database preview;
    The above command workd fine in 10.2.0.3.0.
    But in 10.1.0.5.0 it does not works.

  • Remote for iPod does not work for MENU

    I have just bought a 30GB iPod and the A/V connection Kit which includes a Remote. The menu function of the Remote has no effect on the iPod.
    One reply to such question stated, quote ... it does not work ... it is meant for the front row software.
    In the documentation provided with the A/V connection Kit, there was nothing re the limitation in functionality of the unit.
    Could someone pls explain to me what is meant by "front row software" in relation to the iPod ?
    Tks for assistance.
    jc
    ps I am new to these things !!!

    Thank you for promt reply.
    In reading the documentation more carefully, it does state without going into details, that the Menu button is for other Apple applications.
    Tks again
    jc

  • Interface for Excel does not work in Windows 7 - Important

    Hi,
    Im using BPC 75 MS SP04 with a computer Windows 7, IE 9, Office 2007. Apparently the Excel works "fine", the issue is that whenever I try to access to Interface for web from the main page (clicking the icon) it does not work, does not do anything...
    What do you suggest to do?
    Working directly in excel is not a problem, accesing to templates vía "Etools - Open dynamic templates" is fine.
    The issue is that users that have every access controlled by BPF's (using Interface for Web)  cannot work.
    Also, we use a template that uses 12 EVDRE reports in the background, we know it is a lot... but it was required like that.
    Once accesing to this template vía Etools -Open dynamic template... Excel gets stuck and I have to force it to shut down.
    Also Im working with a Vista system, Office 2003.
    For this systems, we also use the template EVDRE (12 reports). Once any of both systems access to this specific template, Excel gets stuck and I have to shut it down. Any other template is able to work with, but these 2 machines  (7 and Vista) cant.
    Please help !
    Velázquez

    Hi Velázquez,
    Based on SAP Note: 1603248, IE9 is not supported on BPC 7 and 7.5.
    So you have to revert to IE8.
    Only IE8 and IE7 are supported in 7.5 MS.
    Hope this helps.
    Karthik AJ

Maybe you are looking for

  • Upgrading from one drive to two in RAID1 (ATA)

    When I built this computer using a 915G Combo MB, it was the first time I'd ever attempted something like it.  I was just relieved that it worked!  Now, I'd really like to install a Mirror drive and upgrade my system to RAID1.  I am using a Maxtor AT

  • Dates in Jtable - tried and tried and tried

    I have a table cell renderer to handle the date fields as follows. The dates appear MM/dd/yyyy when the table is loaded as I want. SimpleDateFormat cdnDate = new SimpleDateFormat("MM/dd/yyyy"); if (((Vector)fieldInfo.elementAt(i)).elementAt(2).equals

  • EJB3 newbie - when to use EJB?

    If I just want to build a reusable module that does not have any business critical actions, such as a login module, or a blog module, should I use EJB? Also, am I correct that only EJBs can run on distributed servers, and that all other non-EJB compo

  • Bridge UI not displaying images, OK in ESTK. Why?

    Can anyone shed some light at a following problem. I have a UI that will be displayed in Bridge, part of it is a file preview of an image. Everything works well when I run it in ESTK, but when Bridge is targeted, I get a blank frame. Yes all my image

  • How to make an application scalable?

    Hello, Few years ago I have written a java application (J2SE) used to translate some requets from one protocol to another one (propriétary protocols). At that time, this applicaiton has been designed to process about 1000 requests per day. Now we wou