Discoverer limitations

Hi,
i'm trying to create percentage based on total values in crosstab report. is it possible?
my report looks like..
Data..
This is a crosstab report..
Data1- 24,1,0,918,1225,1599,714,0-----------total 4481
Data2 -0,0,3206,3704,0,0,0,0--------------------total 6910
Data3-100,100,0,24.78,100,100,100,100----i want here calculation like (4481/6910)*100. but we can use only total as percentage for Data3 and its displays wrong percentage because its uses total(Data3)/count of column.. Data3 is calculation field.
i dont think so its possible in Discoverer but i will appreciate if i get any idea to solve this problem.
Thanks,
Jay

Well, off the top of my head (ie: disclaimer for inaccuracy and/or contractor stupidity) ...
I'd see if you can create a simple calculation that's data1 / data2 and then place it as a row in the xtab.
Of course, you'd have to check for zeros (which I see you have) and NULLS with something like:
case when NVL(data2,0) = 0 then 0 else NVL(data1,0) / NVL(data2,0) end
So, I'm wondering that if it was placed in the data area and the calculation passed to the totals, then you'd get what you want.
As I said, just wonderin' as can't test and just a quickie idea to get this thread moving.
Russ

Similar Messages

  • Want to avg only a range of subtotals

    My customers want a worksheet that displays summarized FY subtotals and then an average of the FY subtotals. Easy so far. The problem is that they want data summarized as subtotals for the previous (complete) six FYs as well as the current (incomplete) FY. They then want an average of only the complete FYs. So they want a display (with drilldown) of seven summarized FYs; but a final average of the sums for only a range of the sheet. I can, of course, write a condition to exclude 2003 and the average is then correct; but the display no longer shows all seven years.
    I have tried creating a new item for the folder using AVG(col) OVER (order by FY range interval '6' year preceding) to creating a running six year avg window; but then this displays as a detail item and I can't get it to aggregate to the FY subtotal level (and as a detail, it is only correct for what the customer is looking for on 30-Sept of the year).
    Any ideas? Discoverer won't let me edit the totals to put in an avg(decode(fy, 2003, null, value) construct. I'm stuck.
    Thanks!
    L Gravitt

    Ive seen this question asked many times. Sadly, I think this is just a Discoverer limitation. I needed this functionality myself, but still have not found a soultion.
    CC

  • Discoverer 10g Limitations....

    Hi,
    Is there any document or can you give me some info about Discoverer 10g limitations.... such as the maximum folders per business areas , hierarchies.... e.t.c.
    Regards,
    Simon

    Hi
    I don't believe there are any physical limits to things such as folders, items, hierarchies and so on. The only limits you have is memory, CPU capacity, network bandwidth, hard disk storage and the database limits.
    Of course, memory is the one you are most likely to run into trouble with so the more memory you have the better Discoverer Plus will be.
    Best wishes
    Michael

  • Discoverer security limitations

    Hi all,
    Does Discoverer allow security to be implemented down to specific items? If I had a workbook and several users had access to it, would there be a way for me to define which user could drill down into which item? Also, if I had a report for sales figure per region, could I implement security so that one could only
    see the details for one's region?
    Any help in this regard would be appreciated.
    Thanks,
    Gillian

    Gillian,
    For such security requirements, you might want to define different custom folders on top of the exiting and apply security settings to them. e.g create a custom folder which contains all items required for the sales report, but put a mandatory condition of region=<one particular region> on that folder and give access to users for that region...
    Cheers
    Deepak
    Hi all,
    Does Discoverer allow security to be implemented down to specific items? If I had a workbook and several users had access to it, would there be a way for me to define which user could drill down into which item? Also, if I had a report for sales figure per region, could I implement security so that one could only
    see the details for one's region?
    Any help in this regard would be appreciated.
    Thanks,
    Gillian

  • Limitations of Discoverer compared to Other Reporting tools

    Hi,
    I need to evaluate the Pro's and Con's of Oracle Discoverer.Can u please tell me the advantages and disadvantages when compared to Business Objects, Cognos or any other Reporting Tool.
    Thanks, Prasad

    Hey Prasad.
    Now there's an open question (ie: which is better, Ford or Chevy).
    I'm sure this has been address on this forum before so you might want to perform a search for this subject.
    However, dipping my toes in the pool ...
    1. Oracle is pushing Discoverer as an important tool in their repertoire. Future versions will now interface with XML Publisher (now BI Publisher), etc. so it's tightly inter-woven into Oracle. BO, Cognos, etc. are 3rd. party tools and therefore not tightly woven.
    2. If running Oracle Apps, then you can use the BIS views for pre-written views, Disco workbooks, etc. It's simply not practical to try to use BIS without Discoverer.
    3. Newest version of Disco (10g r2) now supports OLAP. Badly ... but it's a start.
    4. Oracle is really pushing the idea of everything being in the database and therefore they are pushing OLAP, DW stuff in the database along with your relational stuff. What this means in tools is that they're strongly pushing Disco with OLAP instead of a customer having to buy hardware, software (ie: Hyperion, Cognos, etc.), people (dbas to manage, software types to program), etc. and exporting your data from the Oracle database to a 3rd. party database to then report on. Again, Disco with OLAP (and someday if actual possible / practical) mixing your OLTP stuff with OLAP stuff.
    5. It's been awhile since I used BO and Cognos so not sure if their newest versions have the same idea of 3 versions (well 2 someday) where you create the report with Plus (or Desktop) and allow users to lightly manipulate (but not create) existing reports using a simple HTML browser (Viewer).
    6. Discoverer is a neat name as it sounds like you're stuttering ...
    I'm sure they'll be lots of other reasons stated by others on this board, but if I was betting the farm on where to go, I would go with Discoverer if I had an Oracle installation. It'll cost you - and Oracle is definitely in it for making a buck or two - but if you're in for a penny with Oracle databases, etc., then you're in for a pound and using 3rd party tools that may do the same, less or even a bit more, never appeals to me as Oracle will either catch up and surpass them ... or let's be realistic ... buy them out! Like Microsoft, they've been doing that lately with a spare few billion dollars falling out of Larry's pockets.
    Russ

  • Launching discoverer reports from portal, limitation..

    Hi, I have already discussed this matter via a metalink SR to find that portal cannot launch a discoverer report using discoverer plus, but I have also been referred here by the metalink people so 'product management' can clarify whether the functionality we are seeking is never going to be implemented or if it may be in planning for the near future.
    Specifically, the users want to be able to launch the discoverer reports in discoverer plus, through a portal application accessed on their browsers. (instead of discoverer viewer).
    Thanks

    Actually there is, we just had to work the metalink guys a bit harder. We found this in the Oracle Business Intelligence Discoverer Configuration
    Guide.pdf (as found at http://download.oracle.com/docs/pdf/B13918_03.pdf)
    Page 212 of 304:
    13.5.3 Example 3: Starting Discoverer Plus
    To start Discoverer Plus, connect automatically as jchan to the Sales EUL, open
    a worksheet called January Analysis in a workbook called Monthly nalysis, you
    might use the following URL:
    http://<host.domain>:<port>/discoverer/plus?cn=cf_a156&opendbid=MONTHLY_
    ANALYSIS&sheetid=179
    So as the documentation claimed it to be a feature, we saught further help as the link structure above didn't quite work for us.
    It was assigned to development and a patch was released: Patch# 5403717
    Info:
    Use a new URL parameter 'workbooksource' after the patch has
    been applied.
    URL Guide:
    http://<server>:<port>/discoverer/plus?cn=< >&opendb=<WokrbookName>&wo
    rkbooksource=Database
    Hope that helps..

  • Sharing Discoverer Workbooks to limited number of Responsibilities

    Hi,
    I have developed multiple discoverer reports (multiple workbooks) in discoverer plus from a partcular responsibility.
    Now when I log out of discoverer plus and log in again selecting a different responsibility, I am able to see all the workbooks which were created initially selecting above responsibility.
    So what is happening is I am able to see all the workbooks from whatever responsibility, I am selecting.
    I want to have a restriction e.g. say workbook 1 & 2 will only be accessible/seen from responsibility1 and not responsibility2.
    Please advise on this as I am trying some workaround as well. Please copy also to : [email protected]
    Regards,
    Alok Datta

    Hi Rod,
    I experinced one thing while following the below steps:
    1) I created folder-XX_FOLDER in discoverer administartor under the business area - XX_BA from SYSADMIN user(so SYSADMIN is the owner)
    2) Rt Cllicked on XX_BA
    3) Clicked on Security
    4) For the Business Are -> User tab, SYSADMIN user is displayed among the SELECTED user/responsibilities list
    5) I selected SYSADMIN to bring it to the AVAILABLE user/responsibilities list (i.e. I tried to revoking from SYSADMIN)
    6) While dragging from SELECTED to available it displayed a message "You are revoking access to a business area for the currently connected user. Are you sure this is what you wanted to do ?"
    7) I clicked on YES
    8) Next time when I logged into discoverer administrator, I didn't see the business area (XX_BA)
    Could you please let me know how can I retrieve back the XX_BA business area in discoverer administartor. I am pretty sure that it is still available somewhere as the workbook corresponding to XX_BA are still accessible in discoverer plus for SYSADMIN user.
    Regards,
    Alok

  • Discoverer Report  returning ' no data  found '

    Hi  ...
    i  have an issue with one discoverer  report  .
    Discoverer report  name : EDI Price Exception Report.
    when i ran the report  in Discoverer  Desktop edition  It is returning 'No Data Found ' But  i am taken the  Query from admin edition  and tried to  ran in  PL/SQL Developer/TOAD  by setting  Org_id condition
    it's returning Data  . the Desktop Edition of Discoverer for  some specific date  Range  it's giving Data  But  from last month on wards  it's not returning any Data.
    in Discoverer Report  Desktop  it's not retuning the Data from  November to till date
    Oracle  Applications  11i
    Discoverer 4i
    Oracle Data base :9i 
    OS : Windows.
    Attached the Sql  which i used to generate the Report :
    I HAVE USED THE FOLLOWING  :-for initialize the profile options
    EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
    EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
      SELECT A.CUST_PO_NUMBER,
             A.ORDER_NUMBER,
             A.ORDERED_DATE,
             A.ORDER_TYPE,
             -- C.CUSTOMER_ID,
             C.CUSTOMER_NUMBER,
             C.CUSTOMER_NAME,
             B.LINE_NUMBER,
             B.ORDERED_ITEM,
             MSI.SEGMENT1 ACCO_ITEM,                               -- GRW 20060407
             MSI.DESCRIPTION,
             -- MSI.INVENTORY_ITEM_ID,
             (SELECT MCI.CUSTOMER_ITEM_NUMBER
                FROM MTL_CUSTOMER_ITEMS MCI,
                     MTL_CUSTOMER_ITEM_XREFS MCIX,
                     MTL_SYSTEM_ITEMS_B MSIB
               --  MTL_PARAMETERS          MP
               WHERE     MCI.CUSTOMER_ID = C.CUSTOMER_ID                 --1814924
                     AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
                     AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
                     AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID   --869899
                     AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
                     AND MTP.ORGANIZATION_CODE = 'BRM'
                     AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
                     AND NVL (mci.inactive_flag, 'N') <> 'Y'
                     AND NVL (mcix.inactive_flag, 'N') <> 'Y')
                CUSTOMER_ITEM,
                     XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
             B.ORDERED_QUANTITY,
             B.PRICE_LIST,
             B.UNIT_SELLING_PRICE,
             B.UNIT_LIST_PRICE,
                   TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
             apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                B.ordered_item,
                                                B.header_id,
                                                B.line_number,
                                                B.unit_selling_price,
                                                B.attribute7,
                                                B.pricing_quantity_uom,
                                                B.attribute4)
                CUST_SENT_PRICE_CONVERTED,
             ABS ( (B.UNIT_SELLING_PRICE
                    - apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                         B.ordered_item,
                                                         B.header_id,
                                                         B.line_number,
                                                         B.unit_selling_price,
                                                         B.attribute7,
                                                         B.pricing_quantity_uom,
                                                         B.attribute4)))
                DIFFERENCE,
                      MTP.ORGANIZATION_CODE,
             B.SHIP_TO_LOCATION
        FROM OE_ORDER_HEADERS_V A,
             OE_ORDER_LINES_V B,
             RA_CUSTOMERS C,
             MTL_PARAMETERS MTP,
             MTL_SYSTEM_ITEMS_B MSI
       WHERE     A.HEADER_ID = B.HEADER_ID
             AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
             -- Added by Gati on 19-Oct-2012, tkt - INC000000118962
             AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
                                      C.customer_number,
                                      B.ordered_item,
                                      B.header_id,
                                      B.line_number,
                                      B.unit_selling_price,
                                      B.attribute7,
                                      B.pricing_quantity_uom,
                                      B.attribute4)),
                        2) <> B.UNIT_SELLING_PRICE
             --AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
             --AND     a.ship_from_org_id = mtp.organization_id
             AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID          -- GRW 20060413
             --AND     a.ship_from_org_id = msi.organization_id
             AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID          -- GRW 20060413
             AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID       -- GRW 20060407
             AND A.ORDER_SOURCE_ID = 6
             AND A.ORG_ID = B.ORG_ID
             AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between  '01-NOV-2013' and  '03-NOV-2013'
             and mtP.organization_code='BRM'
                      AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
                               FROM HR_OPERATING_UNITS HOU
                              WHERE HOU.NAME = '50 ACCO Canada')
             AND B.cancelled_flag <> 'Y'
             AND B.flow_status_code <> 'CANCELLED'
             AND B.ORDERED_ITEM <> 'INVALID_ITEM'
    ORDER BY a.order_number

    Hi,
    Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
    I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
    You may find another condition or join that limits your data.
    Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
    begin
      fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
    end

  • Discoverer report showing wrong output

    Hi all
    We have made a discoverer report called Generic Employee list which is having 37202 records. But in the front end it is showing only 7001 records.
    I have checked that query in toad there i am getting 37202 records and i checked in discoverer desktop there it shows 37202 but when iam exporting it to Excel or CSV file it has only 10054 records.
    Its urgent. Kindly advise on the same.
    Thanks & Regards
    Nakshathra

    Hi Nakshathra,
    Go to Tools --> Options --> Query Governer, uncheck the Limit Retrived data Query, some times it will set to default 10000 records else manually you can set the limitation.
    I hope this helps you.
    Cheers,
    Naga Suresh. C

  • Setup for Discoverer to have multiple sessions opening in different browser

    What is the setup for Discoverer or Windows 6 browser to have multiple discoverer sessions opening in different browser windows at the same time in Discoverer 10g Plus?
    We have implemented Discoverer 10g Plus just to be used as an extract tool. We have some workbooks retrieving 200,000 or more rows from an Oracle database. It is taking 30 to 45 minutes to download. Some users are able to open multiple sessions in different browsers to download more then one worksheet at the time, but we have other users who get an error message that they can only open one session at the time. What is the setup to allow users to open more than one Discoverer session?

    Additional research in Metalink found the following:
    Hdr: 7261918 10.2 USER_JAV 10.1.2.54.25 PRODID-964 PORTID-46
    Abstract: ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    *** 07/17/08 07:31 am REQUEST TEXT ***
    Please refer to bug 6656139. Need to get Discoverer Plus certified to
    support launching two plus sessions from same browser connections page when
    using SUN JRE 1.5/1.6 or higher.
    As per bug 6656139 it appears to be JVM 1.5.x limitation, because same
    actions work fine when using SUN JRE 1.4.2_xx.
    *** 07/17/08 07:31 am BUSINESS NEED ***
    Impossible to run reports against two different databases simultaniously
    using same Discoverer instace, or just several reports at the same time,
    which would save much time instead of running reports one by one.
    *** 07/19/09 11:57 pm *** (CHG: Sta->97)
    *** 07/19/09 11:57 pm RESPONSE ***
    ALSO SEE THIS FROM SUPPORT
    Error 'Unable To Connect Discoverer Server: Null' When Opening A Second Plus Session From The Same Browser [ID 790187.1]
    Cause
    Bug 6656139, JVM 1.5 : RUNNING TWO PLUS SESSIONS ERRORS WITH UNABLE TO CONNECT: NULL
    The Java Console reports the following error:
    Error: java.lang.StackOverflowError
    java.lang.StackOverflowError
    at java.awt.DefaultFocusTraversalPolicy.accept(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at java.awt.ContainerOrderFocusTraversalPolicy.getFirstComponent(Unknown Source)
    at javax.swing.DefaultFocusManager.getFirstComponent(Unknown Source)
    Per Bug 6656139 this problem is a limitation/bug with current Sun JRE 1.5
    and higher and needs to be addressed by Sun.
    Solution
    Currently launching two Discoverer Plus sessions from the same browser connection page is not supported/certified.
    Enhancement Request :
    Bug 7261918, ALLOW ABILITY TO LAUNCH TWO DISCOPLUS SESSIONS FROM SAME BROWSER CONNECTION PAGE
    has been logged for this issue but is still waiting on a Sun Java fix.
    Use the following workaround:
    Use JRE 1.4.2_xx until the ER is implemented and the SUN JRE bug is fixed.

  • How to send Discoverer worksheets in an email

    Hi All,
    I am interested in setting up my discoverer with email sending capabilities. I have searched the net briefly and came over this link:
    http://download.oracle.com/docs/cd/B14099_19/bi.1012/b13987/getting_started.htm#CIHGGDHJ
    This link says something like: "Discoverer sends the email using the IMAP settings specified by the Discoverer manager. "
    Where is Discoverer Manager? How do you start this application?
    I have limited access to the different applications, and there is limited knowledge about these applications where I work, so I need some input from you all.
    Is it possible to set the smtp_out_server values for the database instead?
    Thank you.

    Uhh, Discoverer Manager does NOT refer to an application. This refers to a position, the employee who is assigned to be the Discoverer Manager. Look at manual Application Server Control Help and the manual Oracle Enterprise Manager Advanced Configuration. This is handled in Oracle AS (Application Server) area, not in Discoverer itself. Hope this helps point you in the right direction. Another option is to export to Excel and then email the Excel spreadsheet.
    John Dickey

  • Differences between  Oracle Discoverer 10g and 11g (EBS & Desktop)

    We are in the process of upgrading from Oracle Discoverer 10g testing to Oracle Discoverer 11g.
    We have had several requests (from functional users) for documentation that might reflect the changes in this release level. Does anyone have relevant documentation that might help explain what has changed so that they can be better prepared.

    We are in the process of going from 10 desktop to 11 plus. I do not like it as other end-users I have talked to don't either. In desktop, I could have multiple reports open at one time, move tabs from one report to another so I wouldn't have to rebuild the report again. Also, there are times I have 3 or more sessions of desktop running with multiple reports running in them. In plus, I am limited to one session and one report. That slows down productivity big time. In desktop, exporting crosstabs to excel is more user friendly than plus. For desktop, it will fill in the cells below with the data above it if it changes. In plus, it looks like a pivot table. I have read other posts on how to work around that, but not always functional. Using Dense_Rank() works sometimes depending on how the report is written. IT is researching another way but haven't heard back from the consultants. Or, I will have to modify all my excel files with formulas to do that for me. Also in desktop, I can select all and copy paste the results into excel and all data comes in. The row and column headers, page items and even the title section will paste into excel. Plus only gives you the data, no row or column headers. So I have to export it every time I need the data. I have formatted excel files that all I need to do is copy paste and data flows beautifully. As for organizing and saving reports, desktop is much better. I can save reports out on our network under different folders so I can find them faster by topic. Granted, if that directory is an open one, anyone can change/delete it. In plus, the only advantage of saving it on the database is I can sort and search for reports or users. If you make any changes in plus and then walk away from your desk, plus will shut down after a certain time period. If you didn't save it, you have to start over. Don't know if this is something IT can fix???
    As we see it, plus is a step back in technology. I hope someone can change that opinion. Don't know if we are not getting the best support from whoever is working with us (Oracle or 3rd party) or we are missing something???? If so, please share.
    Thanks.

  • Discoverer and Logical Standby

    We don't wish to run Discoverer against our production database. To that end, we have set up a logical standby on another db server. We plan to allow our users to run their Discoverer reports using the data from the standby database.
    Q: Does anyone have any 'lessons learned' or comments regarding this type of setup? Any 'gotchas'?
    thanks, all.....

    a physical standby is a byte-exact copy.
    If you would overwrite all files of the primary by the corresponding standby files, Oracle won't notice. That said, the database isn't available for normal operations, you can not create any segments in it.
    A logical standby database is a duplicate database in which all INSERT, UPDATE etc statements are re-executed.
    There are limitations with respect to datatypes: not all datatypes are supported.
    Tables with unsupported datatypes are automagically suppressed from the standby. The database is open and can be used.
    However, as it is not a byte-exact copy, you can not use it for Disaster Recovery purposes.
    Sybrand Bakker
    Senior Oracle DBA

  • Strange error in Discoverer calculated columns.

    Hi,
    I got a strange error in discoverer10g worksheet. In woksheet the calculated coulmns did not return data but in PL/SQL developer when I run the query taking from the Show SQL of Discoverer Worksheet it returns. Anyone please help me to resolve this problem.
    I paste the show sql discoverer query below:
    SELECT /*+ NOREWRITE */
    O378524.NAME AS E394898,
    O397424.COMPANY AS E397430,
    O397424.SEGMENT1 AS E397431,
    O397424.INV_ORG AS E397433,
    O397424.VENDOR_NAME AS E397435,
    O397424.INVOICE_ID AS E397436,
    O397424.PERIOD_NAME AS E397438,
    O397424.AMOUNT_PAID AS E397439,
    DENSE_RANK() OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC) AS C_5,
    (SUM(O397424.AMOUNT_PAID)
    OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC ROWS
    UNBOUNDED PRECEDING)) /
    (SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID)) AS C_4,
    SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID ORDER BY O397424.AMOUNT_PAID DESC ROWS UNBOUNDED PRECEDING) AS C_1,
    O397424.AMOUNT_PAID /
    (SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID)) AS C_3,
    SUM(O397424.AMOUNT_PAID) OVER(PARTITION BY O397424.ORG_ID) AS C_2
    FROM (SELECT * FROM APPS.HR_OPERATING_UNITS) O378524,
    (SELECT DISTINCT /*SEGMENT1*/ CODE_COMBINATION_ID, INV_ORG
    FROM (SELECT GCC.SEGMENT1,
    GCC.CODE_COMBINATION_ID,
    DECODE(GCC.SEGMENT1,
    7590,
    'Kanowna Belle Organisation',
    7060,
    'Darlot Organisation',
    7260,
    'Cowal Organisation',
    7570,
    'Kanowna Belle Organisation',
    7595,
    'Kundana Organisation',
    7070,
    'Lawlers Organisation',
    7180,
    'NULL for Yilgarn(Barrick (Services) Limited)',
    7541,
    'Granny Smith Organisation',
    7015,
    'NULL for Barrick Gold(Barrick (Australia Pacific) Limited)',
    7610,
    'Kundana Organisation',
    7014,
    'NULL for Yilgarn(Yilgarn Shared Services)',
    7538,
    'Granny Smith Organisation',
    'Unknown') INV_ORG
    FROM APPS.GL_CODE_COMBINATIONS GCC)
    /*WHERE SEGMENT1 IN
    (7590, 7060, 7260, 7570, 7595, 7070, 7180, 7541, 7015, 7610, 7014, 7538)*/
    ) O394875,
    (SELECT CHQ.ORG_ID,
    FVT.DESCRIPTION COMPANY,
    GCC.SEGMENT1,
    INVD.DIST_CODE_COMBINATION_ID,
    DECODE(GCC.SEGMENT1,
    7590,
    'Kanowna Belle Organisation',
    7060,
    'Darlot Organisation',
    7260,
    'Cowal Organisation',
    7570,
    'Kanowna Belle Organisation',
    7595,
    'Kundana Organisation',
    7070,
    'Lawlers Organisation',
    7180,
    'NULL for Yilgarn(Barrick (Services) Limited)',
    7541,
    'Granny Smith Organisation',
    7015,
    'NULL for Barrick Gold(Barrick (Australia Pacific) Limited)',
    7610,
    'Kundana Organisation',
    7014,
    'NULL for Yilgarn(Yilgarn Shared Services)',
    7538,
    'Granny Smith Organisation',
    'Unknown') INV_ORG,
    CHQ.VENDOR_ID,
    CHQ.VENDOR_NAME,
    COUNT(INV.INVOICE_ID) INVOICE_ID,
    --INVL.PRODUCT_TYPE,
    INVL.PERIOD_NAME,
    --chq.check_date,
    SUM(NVL(INVP.PAYMENT_BASE_AMOUNT, INVP.AMOUNT)) AMOUNT_PAID
    FROM APPS.AP_CHECKS_ALL CHQ,
    APPS.AP_INVOICE_PAYMENTS_ALL INVP,
    APPS.AP_INVOICES_ALL INV,
    APPS.AP_INVOICE_LINES_ALL INVL,
    APPS.AP_INVOICE_DISTRIBUTIONS_ALL INVD,
    APPS.GL_CODE_COMBINATIONS GCC,
    APPS.FND_FLEX_VALUES FV,
    APPS.FND_FLEX_VALUES_TL FVT
    WHERE CHQ.CHECK_ID = INVP.CHECK_ID
    AND INVP.INVOICE_ID = INV.INVOICE_ID
    AND INVL.INVOICE_ID = INV.INVOICE_ID
    AND INVL.LINE_NUMBER =
    (SELECT MIN(LINE_NUMBER)
    FROM APPS.AP_INVOICE_LINES_ALL
    WHERE INVOICE_ID = INVL.INVOICE_ID
    AND LINE_TYPE_LOOKUP_CODE = 'ITEM'
    AND DISCARDED_FLAG = 'N')
    AND INVL.INVOICE_ID = INVD.INVOICE_ID
    AND INVL.LINE_NUMBER = INVD.INVOICE_LINE_NUMBER
    AND INVD.DISTRIBUTION_LINE_NUMBER = 1
    AND INVD.DIST_CODE_COMBINATION_ID = GCC.CODE_COMBINATION_ID
    AND FV.FLEX_VALUE_SET_ID = 1013043
    AND FV.FLEX_VALUE = GCC.SEGMENT1
    AND FV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
    GROUP BY CHQ.ORG_ID,
    GCC.SEGMENT1,
    CHQ.VENDOR_ID,
    CHQ.VENDOR_NAME,
    FVT.DESCRIPTION,
    --INVL.PRODUCT_TYPE,
    INVL.PERIOD_NAME,
    --chq.check_date,
    INVD.DIST_CODE_COMBINATION_ID) O397424
    WHERE ((O397424.ORG_ID = O378524.ORGANIZATION_ID) AND
    (O397424.DIST_CODE_COMBINATION_ID = O394875.CODE_COMBINATION_ID))
    AND (O397424.AMOUNT_PAID > 0)
    AND (O397424.PERIOD_NAME = /*:"Period"*/'DEC-09')
    -- AND (O394875.INV_ORG = :"Inv Org")
    AND (O378524.NAME = /*:OU*/'Barrick Yilgarn')
    ORDER BY O397424.AMOUNT_PAID DESC;
    Edited by: Soma Sekhar D on Feb 24, 2010 11:46 AM

    Hi,
    In the report I have two worksheet. The Ist worksheet has the same calculated columns as 2nd worksheet. Even the calculations are also the same. The only difference is I use different folder for the 2nd worksheet. For 2nd worksheet layout only the calculated columns will not display the result.The other columns displayed the result properly. Even in the Ist worksheet all the columns including calculated columns displayed the result correctly.The calculations are same in the 2nd worsheet with calculation names different and items coming from different folder. As these calculations are working properly in Ist worksheet,why its not appearing in the 2nd worksheet? The query I paste before is the Discoverer show sql query for 2nd worksheet.
    Please help.

  • Dynamic Header names in Discoverer Plus

    Hopefully someone have a solution for the following problem! :-)
    In Discoverer Plus, all the numeric datapoints, create as a default, the following column header: "<Item name> SUM" (or AVG, COUNT, etc)
    Our end users are not very pleased with this kind of column headers, they want only the <Item Name> to appear in the header.
    One solution of course, is to change the column headers manually in the report.
    The consequence of this solution, is that I have to do this change in every report where the <Item> is used.
    Is there a mechanism in the configuration in Discoverer Plus or in Discoverer Administrator, which make the resulting column header to be limited to the <Item Name> and NOT containing the SUM, COUNT, etc. ?
    Thanks in advance!!

    Hi
    No this is not possible I'm afraid as Discoverer always adds the aggregation type to the end of the name.
    It's really not hard to rename the columns inside Plus and it only takes a couple of seconds to do so. Rather than allowing your users to remain not very pleased just explain why this is happening then hopefully they will understand.
    It sounds like your users haven't had good training because this should be covered in a training course. If you're interested in training this is something that my company excels in.
    Best wishes
    Michael

Maybe you are looking for

  • Folder not opening

    Hello all, I'm having trouble opening some folders that are inside a folder I named "home". Whenever I try to open any of these folders, the current window disappears and the top menu bar blinks. Sometimes even my real home folder opens for no reason

  • Cs6 pro prem install from dload exe and 7z on usb both in same folder. when run exe it gives error archive file needed

    new install cs6 production premium  .downloaded exe to a usb thet the vendor provided with the 7z file cos i dont have lots of data.  .With both in the same folder on the usb running exe rsults in error message asking for an archive file.  There are

  • Document corruption

    I created a simple text journal in Pages on my iPad. I had no problems with the document until I bought an iMac, started using iCloud and adding/editing text on both devices. Now when I open the document on my iPad I get a message that says Unknown E

  • ITunes 10, iPad2 and iBook G4 10.4.9...

    I just purchased an iPad2.  I have an iBook. To load iTunes 10.x, it says I need 10.5 OS, 10.4.9 is loaded on the iBook.  Can the iBook handle an OS that will let the latest iTunes install?

  • Wie kann ich die PDF als Duplex Druck vorgabe speichern ?

    Wie kann ich die PDF als Duplex Druck vorgabe speichern ?