Queries nested SQLPlus can be imported in Discoverer?

I have a query that contains a subquery and I was wondering if somehow I can import into Discoverer. I tried, but it fails with: parsing failed due to fatal errors - error: features not supported for analytical expressions.

Or discoverer has a problem with the CASE and how I use it?

Here is the code I am trying to import:

Select Assoc., customer, name,
Retail_Plan, Run_Date,
Check_Date, sum (Checks), "Active_EE_Here,"
Sum (Retail_Amt), sum (Discount_Amt), sum (Retail_Net),
Sum (Payroll_Fees), sum (Delivery_Fee).
Sum (HR_Fees), sum (Setup_Fee)
FROM (Select cm.associate_no Assoc,
cm.client_no customer,
cm.client_name name,
CBL.retail_plan,
CBL.run_date Run_Date,
Check_Date CBL.check_date,
CASE WHEN cb.fee_code = 2
CBL.check_count END THEN, checks
"Active_EE_Here,"
Sum (CB.retail_amount) Retail_Amt,
Sum (CB.retail_disc_amount) Discount_Amt,
Sum (CB.retail_net_amount) Retail_Net,
WHEN CM BOX. FREQUENCY = 1
THEN the sum *.37 (cb.retail_amount)
OTHER amount (cb.retail_amount) *.22 END Payroll_Fees.
CASE WHEN cb.fee_code = 5000
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5010
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5012
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5014
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5015
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5016
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5017
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5018
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 5019
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 8000
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 8001
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 8002
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 8003
THEN sum (cb.retail_amount)
WHEN cb.fee_code = 8004
THEN sum (cb.retail_amount) END Delivery_Fee,
Sum (CB.retail_net_amount)-
(CASE WHEN CM. FREQUENCY = 1
THEN the sum *.37 (cb.retail_amount)
OTHER amount (cb.retail_amount) *.22 END) HR_Fees,.
CASE WHEN cb.fee_code = 9997
THEN sum (cb.retail_amount) END Setup_Fee
of ap.mstr cm, ap.clt_bill cbl, cb ap.bill
where cm.pclient_id = cbl.pclient_id
and ((cbl.pclient_id = cb.pclient_id))
and (cb.bill_year = 2009
and cb.bill_month = 3)
and (cm.associate_no = 23)
and (cbl.bill_year = 2009
and cbl.bill_month = 3)
Group of cm.associate_no, cm.client_no, cm.client_name, cbl.retail_plan, cbl.run_date, cbl.check_date, cb.fee_code, CM. FREQUENCY, cbl.check_count)
GROUP BY Assoc, Client, name, Retail_Plan, Run_Date Check_Date, 7, 8
order by 1, 2, 3, 4, 5

OLIVIER Descoverer Desktop version 10.1.2.1

Oracle Database EE 10g 10.2.0.3 Release

Thanks for the advice offered,

Gary F.

Published by: Gary F on March 31, 2009 15:39

Hello

You will not be able to import this SQL using office, but you should be able to create a custom folder that contains the SQL by using discoverer Administration. Have you tried?

Rod West

Tags: Business Intelligence

Similar Questions

  • I can't import prproj file to another project as before

    Hey,.

    Since I updated Premiere Pro can't import projects like the way I want. I did a sequence with a few audio and video effects: http://puu.sh/gEB8n/831acf7fa4.png

    but when I import it to a new project, it appears only as a long track video and audio: http://puu.sh/gEBV3/137853ad4d.png

    Why this change and what can do the project is imported as I recorded it?

    Small icon > top left pane sequence will be nest of the United Nations of the sequence.

  • Anyone know how to solve my problem? I can't import my photos from Iphone to computer. Sign says: Photos in the camera cannot be imported because the IPhone is locked with a password or read. My phone is unlocked. I've tried everything

    Anyone know how to solve my problem? I can't import my photos from Iphone to computer. Sign says: Photos in the camera cannot be imported because the IPhone is locked with a password or read. My phone is unlocked. I tried everything, every single idea. Without success! Any other idea?

    For example, you specify that the device does not display the lock screen, correct? Do you use Touch IDS? If so, try to put your finger on the device to see if it's what he wants.

    See you soon,.

    GB

  • How can I import video from DV camera

    I have a lot of bands DV go a Canon camcorder.  How can I import these videos on my Mac.  Need advice on wiring as well as import demand.

    ....... Mike

    To import your video, you can use iMovie or Quicktime player. It is likely that your camera uses Firewire for export, so will need you a firewire cable. If your computer has firewire ports, you're all set. If there Thunderbolt ports then you also need a bolt of lightning firewire adapter for your firewire cable.

  • I can't import a paid app in Apple Configurator.

    I can go for Volume purchase program and buy a paid app for our school.

    Then I can take.

    After I buy, the top line of the spreadsheet says that it was bought.

    However, I can't import into Apple Configurator.

    I see it in "Downloads" but it is always grayed out so I can't import.

    I'm logged into Mac OS 10.10 administratively for the permissions of the operating system is not the answer.

    A major problem for us.  Any help would be greatly appreciated.

    Hello

    Contact Apple directly > https://www.apple.com/support/mac/app-store/contact/

    Or on Twitter: @AppleSupport

  • How can I import documents in an FCP project, using the DVD player connected to a MacBook Pro 10.10.5 Super player?

    How can I import documents in an FCP project, using the DVD player connected to a MacBook Pro 10.10.5 Super player?

    You need to rip a DVD? Try MPEG Streamclip or brake hand. Both free. Streamclip better, but much more complicated to install and use.

  • Data in CSV format can be imported?

    Data in CSV format can be imported in numbers?

    Yes, it should be importable. Check the numbers help to learn how.

  • I can't import exported thunderbird either under their structured eml files mail messages

    I had a lot of problems with thunderbird and get rather annoyed now.

    So I exported my emails using the export option and chose the option of structured files. I have also exported in an eml file.

    I created a new profile and you want to import the messages I've exported but can't find anything. If I try to import that I can only import Outlook which is obsolete now.

    I found how to do what I want but have past issues:

    Is there a limit on the size of the messages and stored data?

    The size affects the operation (slow down) the program?

    Thank you for your quick response.

    Edit: I just remembered an important issue, I had:

    Having allowed TB to the automobile. install the outlook settings later, I've been unable to find anywhere to change settings such as passwords etc. There was only one mage manage settings and identities.

    Also, I have now found a false folder that cannot be deleted:

    20150416174740.13477.45976.Repoze.sendmail%40worker2. PRL.nu.wdseml

  • How can I import bookmarks from my desktop

    My Firefox bookmarks can be imported on this unit

    Hello

    Of course, first you will need to create an account and then synchronize your bookmarks on mobile/office devices. To create the account, please follow the link: https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync

    I hope this helps!

  • Can bookmarks import chrome on my Android device?

    Okay, can I import my favorites from Chrome to my Firefox browser.

    On your Firefox for Android.
    1. press the menu button (whether under the screen on some devices or in the upper right of the browser)
    2. Select settings = > customize = > import from Android.
    3. If you do not want to import history, clear history.
    4. Finally, click Import.

    Hope this will help.

  • How can I import Firefox bookmarks, now stored in the folder of the user on the same PC (new), in Firefox?

    How can I import Firefox bookmarks, now stored in the folder of the user on the same PC (new), in Firefox? I exported my old PC Firefox bookmarks in a folder [Windows 8] on my new PC.
    When I use the ease of importing from Firefox, it will only import a bookmark at a time - and then it inserts the bookmarks all the main pages on the site marked with a bookmark, not just the one I initially put bookmark. Also, it does not matter the information stored in the bookmark tag.

    Sure thing.

    1. Open the dialog box run by pressing the Windows key by pressing R
    2. Type of %appdata% in the immediate window and press ok
    3. Open the Mozilla folder
    4. Open the folder of Firefox
    5. Open the profiles folder
    6. Copy the folder that is located in this folder on a USB
    7. Install and run Firefox on the new computer
    8. Closing of Firefox
    9. Repeat steps 1 to 5 on the new computer
    10. Open the folder that you copied from your old computer
    11. Copy the contents of this folder into the folder inside the folder of the profile on the new computer
    12. Allow Windows to replace all records in doubles with those you are copying to the computer is prompted

    If you have problems with these instructions, or if you would like more information, feel free to comment below.

  • Can not import addresses from the old computer

    I can't import addresses my old computer to the new Thunderbird. The import function simply stops. I waited for her several times, tried twice, abandoned.

    What you are trying to import from?

    Users from a different mail program generally target functions of import in Thunderbird.

    If you move Thunderbird from one computer to another, the best way is to copy the profile to the new computer.

    https://support.Mozilla.org/en-us/KB/Profiles-TB

  • I have a file outlook.pst: How can thunderbird import it?

    I'm migrating from MS Outlook 2004 to Thunderbird a
    d I need to import my address book.

    I think you'll need either of Outlook on your computer (using Outlook to extract your data from Thunderbird) or a tool customized to extract your Outlook Contacts in a standard format.

    If you can still open your PST in Outlook, you can export your Contacts to a CSV file and also as business cards by using one of the methods described in this article: http://www.msoutlook.info/question/803 (note: I have not tested these myself). I suggest to create these two formats, in case you have problems with one of them.

  • Why I can't import exported TB LiveMail files?

    Just installed TB b/c LiveMail stop working (was in constant send mode). Set up TB and can get and send messages to the server. Restarted. LiveMail is now working... Exported "all." Back to TB, I can't import. Process seems to be stuck after choosing 'All' and then clicking. Nothing happens. Seems stuck or frozen. All other running programs fine. (OS = Win7).

    To import an address book which is in .csv format.

    You can use the instructions below, but it can help you to change the column headers in your .csv recorded file to match these headers used in Thunderbird. Any .csv file can be opened by using for example: Excel. See this link for a list of the used column headers:

    • In Thunderbird, open "address book".
    • "Tools" > "import."
    • Select "Address books" and click "next".
    • Select 'File (LDIF, .tabtable, .csv, .txt) text' and click 'next '.
    • Find the registered .csv file and click 'open '.
    • You may need to map the column headings to match those of Thunderbird.
  • United Nations filed bookmarks has not transferred. How can I import with the duplication of the other folders?

    I loaded Fire fox down and selected the option to import IE Favorites. Records and their favorite content fine but unclassified transferred. Now how can I import bookmarks from untransfered with duplacating already transferred from files and folders.

    Try to import again, I think that Firefox duplicate bookmarks that already exist:

    Try IE export only the bookmarks you want to:

    (IE export to HTML)

    Then import in Firefox:

Maybe you are looking for