Discoverer Crosstab Reporting

I created a simple crosstab in Discoverer that Sums all costs for two years and would like to find out the difference between the years. Is there a Discoverer formula or process that can handle that without having to export to Excel and do the anaylsis?
Cost Center Year 1 Year 2 Difference between Year 1 and Year 2
101 $500 $200 $300
102 $200 $50 $150
thanks,
Steve

Hi,
No, this is not easy to do in a crosstab report because you will need an extra row to show the difference value. One option is to create a view at the database level which uses an UNION ALL to create the additional different row.
Rod West

Similar Messages

  • Crosstab Report in JDeveloper 10.1.3.3

    Hi,
    I am new to JDeveloper.
    I am looking to develop an crosstab report in JDeveloper.
    I have managed to get this working in Discoverer using a Discoverer Crosstab report, but I cannot seem to replicate this in JDeveloper
    Previous versions seem to use the BI Beans functionality crosstab report, but I cannot find this in my version, I have been reading around and it doesn’t seem to be supported in v10.1.3.3.0.
    Is there a way to create this in JDeveloper 10.1.3.3.0?
    Any help would be greatly appreciated.
    Many Thanks
    Martin Ley

    We don't have a crosstab component in 10.1.3 - there is one in 11.

  • Average no value in crosstab report (Discoverer Desktop)

    Hello experts,
    I have a crosstab report, and i want to use avg to a calculation field, but in crosstab i have no values and when i make drill down i have values under my group.
    how can i solve this?
    Edited by: user13062021 on 18-Feb-2011 07:44

    I make this change to my values "nvl(<item>,0) but nothing happened. In discoverer plus the values are correct but in discoverer desktop the values are null.
    Instead of this in analytical sheet i do not have null values to this column.
    For your information,
    in analytical sheet i have a calculation field with round and nvl functions, and i calaculate this field from the analytical sheet to crosstab sheet with an AVG() function, and cannot claculate.
    When I first make this sheet the values in discoverer desktop are all correct, but on the other day when I make refresh to my sheet the values are null.

  • Excel export of crosstab report in Discoverer desktop 9i not proper

    Dear All,
    I have made a crosstab report where I am taking the totals of the fig at all the datapoints. For this total, I have put the "Label" as &Value. When I run the report, it shows the correct output and correct values for the label field. But when I am exporting the report in excel, the label does not refresh for all the items properly. Instead it shows the Label for the very first set of data across all the itesm.
    Can somebody pls tell me the reason behind this?
    Regards
    Minakshi

    I am experiencing the same issue. has anyone got a solution to this issue? i dont really want to truncate the string if possible

  • Crosstab report with null or wrong totals

    I have a crosstab report that when I put a field in an item report area and setting <all> for values I get null values and with other fields I get wrong results (less than I wait). If there's no report item, it's return the correct results.
    I have checked the SQL and it not return any null value.
    I believe that the crosstab try to aggragate and sum the null values of the empty cells in my crosstab.
    Anyone knows how to fix it?
    I'm using Discoverer 10g Desktop.

    can you send your xml data and template to [email protected]

  • Migration of Discoverer 1g reports to OBIEE

    we are trying to migrate reports from Discoverer 10g to OBIEE 10.1.3.4.We have migrated the EUL using the utility tool provided by OBIEE.
    Now we were trying to use the sample reports and migrate the same to OBIEE 10.1.3.4.
    We are using a sample xml which we will be using to migrate the reports .We have a web service which takes report inputs in this XML format, converts and save OBIEE reports.
    SInce OBIEE does not have tabs(worksheets) like Discoverer,we thought
    we will have to prepare xml for each tab and present it as a single
    report in OBIEE.
    1) Can u please suggest if this is right or there is some
    workaround for it or if anyone has idea about it?
    We could also do some changes to the xml to incorporate some functions of discoverer if anyone has suggestions.
    We are assuming that Crosstab reports are similar to Pivot tables in OBIEE.
    2) But we are not sure how to incorporate the page items in thexml.plz suggest if anyone has ideas since not sure if page items can be handled in OBIEE.
    3) Can someone help us in completing with this below xml by taking example of the sample reports present in discoverer.The values of reports are to be included in the xml
    Any help would be great since we are trying this for the first time and we are not well versed with xml too.Please find below the sample xml we are using
    - <OBIEE version="10.1.3.4">
    - <report Name="" subjectareaname="">
    - <!-- All the columns used in any of the views will be added here in critera
    -->
    - <filters>
    - <!-- Filter parameters
    type : logical/SQL
    if type = "logical"
    operator : logical operator if type is logical
    SQLName : Physical Table.Column name on which the filter is applied, if type is logical
    dataType : Data type of the column mentioned in SQLName
    VALUE : Value of the filter
    if type = "SQL"
    sqlExpression: filter SQL expression
    -->
    - <filter type="" SQLDefinition="" operator="" negate="" includeNULLs="">
    <filterValue dataType="">VALUE/sqlExpression</filterValue>
    </filter>
    - <!-- parentSection filter Expression and Name in case of HIR to OBIEE Migration
    -->
    <referenceFilterExpression Name="">FilterExpression</referenceFilterExpression>
    </filters>
    - <!-- column Prarameters
    ** SQLName : Physical Names of Table.Column [Column Definition]
    sort : asc/dsc
    Name : column name to be shown as
    datafunction : aggrigate function applied on the column
    showColumnTotal : True/False
    SuppressDuplicates: True/False
    ** is mandatory attribute on the column
    -->
    <titleView title="" subTitle="" logoURL="" />
    - <tableView Name="" ShowColumnTitles="false">
    - <!-- If no Group columns, BI table View will be generated, else Dashboard
    -->
    - <dimensions>
    <column Name="" SQLDefinition="" sort="" total="false" />
    </dimensions>
    - <facts>
    <column Name="" SQLDefinition="" aggRule="" />
    </facts>
    </tableView>
    - <pivotView Name="" ShowColumnTitles="false">
    - <page>
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </page>
    - <Section>
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </Section>
    - <rows total="none">
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </rows>
    - <columns total="none">
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </columns>
    - <measures>
    <column Name="" SQLDefinition="" aggRule="" visibility="" />
    </measures>
    </pivotView>
    <chartView Name="" />
    - <prompts>
    - <!-- Filter parameters
    operator : logical operator used in the prompt filter
    SQLName : Physical Table.Column name on which the filter is applied
    subjectArea : Subject Area Name into which the prompt belongs to
    promptcaption : Display Name of the Prompt
    promptDescription : Description if any
    -->
    <prompt SQLDefinition="" operator="" promptcaption="" promptDescription="" />
    </prompts>
    </report>
    </OBIEE>

    Hi,
    I opened the Discoverer administrator and clicked on export.
    in next step i selected the option "Selected obects in the end user layer" for "what do u want to export"?
    i choose workbook and selected the sample workbook "Video Tutorial workbook"
    Then i gave the name "Video Sales Tutorial" and saved the file in a folder and selected the check box "generate xml for exported workbooks"
    I got the file in the folder as Video Sales Tutorial.eex.That .eex file had details of the workbook name and all other information
    <UniqueIdent ConstraintName="DOC1" Batch="False" DeveloperKey="VIDEO_TUTORIAL_WORKBOOK"/>
    But to get these workbook details we have to always save the workbook in the DB.We cannot save the workbook in our file system.
    Am i right?Since only workbooks which are in DB can be exported.
    Thanks a lot for the info.Will try to analyze this information

  • Discoverer 4i report..please help

    Hi,
    I have to create a crosstab report in discoverer 4i . The output depends on a date range which is a parameter.
    The output has to show the count of say category of items bought per month within the date range. There is no limit to the number of months within the date range. Thus the number of columns is dynamic ie (date1-date2), can have any value hence the required month columns at the output is also dynamic
    OUTPUT wud be like
    ProductType MONTH1 MONTH2 MONTH3 .... TOTAL
    A 10 20 30 .... 60
    B ... .. .. ...
    C ... ... .. ...
    I can calculate the no of months between the dates , but how do i create that many MONTH columns at the output and display the count accordingly.
    Kindly Guide me here.
    Regards,
    Sonali

    another question. for the running total
    order_number qty qty_cal_to_month qty_lim ord_dte uom qty_to_mon
    1111 8 480 200 28-nov-2005 ea 488
    2222 10 480 200 28-mar-2006 ea 498
    how can we do it where qty to mon is qty + qty_cal_to_month for the first row
    then the next rows will only be adding qty to qty_to_mon
    like
    order_number qty qty_cal_to_month qty_lim ord_dte uom qty_to_mon
    1111 8 480 200 28-nov-2005 ea 488
    2222 10 480 200 28-mar-2006 ea 498
    3333 20 480 200 28-mar-2006 ea 518
    thanks

  • Data missing in Crosstab report with calculated field via case when

    I use the Oracle 10g discoverer. When I create a crosstab report with a calculate field via function case when and put it as datapoint, some of the data is not showing. I tried to not use the case when function for the calculate field, then all the data show.
    I really do not the reason. Could anybody help me out with many thanks?

    Let me explain more.
    I have the original data below.
    Work order, Team, Hours_worked, date
    800001, S1, 5, 2012/01/01
    800001, S1, 15, 2012/01/10
    800001, S2, 4, 2012/01/04
    800002, S1, 3, 2012/01/15
    There are multipul records for the same work order, team on the same day or different.
    Finally I want to set the start date and end date as the parameter to create a crosstab report format like
    start date>=2012/01/01 and close date<=2012/01/05
    Team
    Total hours total hours within the range
    Work order S1 S2 ... S1 S2 ...
    800001 20 4 5 4
    800002 3 0 0 0
    in order to do it, I create two parameters independently start date and close date. Then I create a calculate field hours_worked_withinrange via
    Case when date>=:start date and date<=:end date then Hours_worked else 0 end
    This calculated field is correct in the tabular format report in discoverer desktop. But when I duplicate the list as crosstab. Some data is missing in crosstab data point.
    I checked once I change the calculate field defination not use case when. (For example, C1=hours_worked*2). Then everything runs correct.

  • Displaying columns in Crosstab report.

    Hi all,
    I have developed Matrix Report. Output is coming like below.
                                                                                                          Current Vol                   OPM Cost
                                       Category     X1   x2   x3    x4       x1     x2      x3      x4
    Product  Market                           
    AAA1     Japan                                10  20    30    40       10      20     30     40
    BBB1     Japan                                10  20    30    40       10      20     30     40Current volume also displaying based on category. But, i need to display as Current vol one time only. instead of 4 (X1,x2,x3,x4). OPM cost should display as matrix based on category.
    Please let me know , Is it possible to do it in Discoverer.
    Thanks
    Kavi

    Hi,
    Yes it is possible but you will need to have each category as a separate row then use a crosstab report to display the rows in a matrix.
    To create the extra rows for each catogory you will need a row generator in your EUL. See this link http://learndiscoverer.blogspot.com/2008/10/row-generators.html for details.
    You can then use decode to define the calculation that will display the OPM cost for the category on the row.
    Rod West

  • Performance Issue with Crosstab Reports Using Disco Viewer 10.1.2.48.18

    We're experiencing Performance Issue (retrieving 40000 rows) with Crosstab Reports Using Disco Viewer 10.1.2.48.18 ( > 01 Minute , executing "Building Page Axis" or executing a Refresh).
    Are there parameters to tun (in pref.txt file) , in order to reduce "Building Page Axis" execution ?
    Note : We've got the same performance problem , using Discoverer Desktop 10.1.2.48.18.
    Thank's in advance for your Help.

    Hi
    Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
    For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
    Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
    You therefore to:
    a) apply sufficient filters to reduce the amount of data being returned to something manageable
    b) reduce the number of page items, if used
    c) reduce the number of items on the side or top axis of a crosstab
    d) reduce the number of complex calculations, especially calculations that would generate a new bucket
    If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
    Does this help?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Showing zero values in crosstab report

    Hello.
    I have a crosstab report (in desktop) that is used as a raw data extract to populate an excel spreadsheet.
    In order for this to work without having to adjust the spreadsheet every time the columns have to be the same, each time it's exported across.
    However, when a particular column doesn't have any data for that month Discoverer doesn't show it, which means the columns that go across to excel are in a different order and the formulas are out of sync.
    I'm sure I've come across a setting to show all columns, including those with no data, but I can't find it and I'm starting to think I imagined it?
    Thanks in advance

    Hi,
    I'm sure I've come across a setting to show all columnswhat you described is no settings issue.
    its the data you have or actually don't have.
    the cross tab is dynamic display so that if you do not have data in the database it will not be displayed.
    however you can manipulate the table by adding dummy records to your table so that you will still see it,
    for example if you want to see a record for Jan-12 then add a dummy record for this month with every other columns as NULL or 0 (depends on your business logic).
    Tamir

  • Crystal Repts XI - Adding labels to summary fields in crosstab report

    I have a crosstab report where
    Columns
    first-level are priority or non-priority schools
    second-level are priority type
    Rows
    First-level: month
    second-level: count of calls opened this month; sum of time spent; opened prior to reportstart and still open, closed this month
    The row label for sum of time spent specifies that the time is in hours.  However, our Curriculum and Instruction department wants each data cell in that row to include the abbreviation hrs.  In other words, the row label would say Time spent on requests closed this month(hrs) and each cell would say 10.5 hrs  2 hrs, etc.  Can anyone help with this?

    Thank you!  This solved my problem.  It took me awhile to find where I could change the currency sign to display on the right but once I did it worked like a charm (we're and educational system, we rarely get to report on money).
    For others who don't know where to find this:
    - right click the field and select Format Field
    - on the Number tab of the format editor, select Display Currency Symbol
    - click Customize
    - click the Currency Symbol tab of the Custom Style Editor
    - in the Position menu choose the selection with the currency symbol on the right
    - in the Currency Symbol box type hrs.
    Save, save, and done!

  • In V 6.5 SP2 shading ever other row in crosstab report

    Post Author: Theodore Van Patten
    CA Forum: WebIntelligence Reporting
    I am having tremendous difficutly on a seemily simple request, and that is to shade ever other row in a crosstab report.  Anyone have any ideas?
    Thanks

    Another alternative, if  you dont want to use the Shared Content Store, is to have your PackageInstallationRoot pointing to a non-provisioned disk (non-PVS).  In our environment we had the same exact issue.  Each of our Citrix servers have
    a D drive thats non-provisioned that we use for Logs.  Once I pointed the PackageInstallationRoot over to this location everything started working.   The key here is to have a script run at server startup that deletes the PackageInstallationRoot
    since the provisioned non-persistent disk will reboot to a fresh image each time.   This way you wont end up with stale content out there as applications are updated and/or removed. 
    There are other things that also have to happen for this to work in these types of environments (related to roaming profile exclusions) that I can provide to you if you need them.  
    Let me know if you want/need more details.

  • Error while adding Parameter Field to CrossTab report in CR 2008

    Hello Experts,
    I'm getting an error - "Not supported" while I'm trying to add a paremeter to the Crosstab report. It is a simple report with no further complications.
    Is there any special way to add a parameter field to Crosstab? Any help appreciated.
    TIA
    arjun

    Hi,
    What version of Crystal Report are you using? 
    Kindly refer SAP Note 1376117 & 1454192  and verify if you are on the approriate patch.
    Regards,
    Nakul

  • 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 AM

    Hi,
    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

Maybe you are looking for