Cross Tab In Discoverer

Hi Guys,
I need to build a discoverer report that should display the data for every month. I had written one query where Transaction_Date in Mon-YYYY form is made a data point in discoverer which means my sheet will segregate the data in cross for each months like Jan-2012, Feb-2012.... etcetera .
Now I run my report for Transaction Start Date '1-Jan-2012' to '31-Dec-2012' but my query returns the data only for three months Jan-2012, Mar-2012 and Apr-2012 therefore discoverer sheet shows me three tabs for Jan-2012, Mar-2012 and Apr-2012 [that is logically correct because data is available for these three months only]. But my requirement is, even if data is not there for the months which fall between date range, report should display those month as a tab in sheet with 0 values. like for this example disco sheet should look like..
S.No......Sum(Amount)........Jan-2012.....Feb-2012.....Mar-2012.......Apr-2012....May-2012....Jun-2012....Jul-2012....Aug-2012....Sep-2012....Oct-2012....Nov-2012....Dec-2012
1................800..................100.............0............500..................200...............0...............0..............0...........0...........0..............0..............0...............0
I hope I make you understand what my requirement is. Does any of you have nay idea how to achieve this?
Looking forward to your reply.
-Sunil
Edited by: Sunil on Jan 10, 2013 12:36 AM

Hi,
You will need to set up your EUL so that there is a folder which returns all the months, that outer join your report folder to this calendar folder. This blog (http://learndiscoverer.blogspot.com/2008/10/row-generators.html) about row generators which you will need to create you calendar folder may be useful.
Rod West

Similar Messages

  • Calculated column shows all zeros in cross tab discoverer report

    Hi
    I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
    i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.

    Hi,
    No there is no special privs for cross tab but there is an aggregation issue.
    There are some methods of aggregations used in the discoverer.
    First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
    Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
    Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
    BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.

  • How to crate cross tab reports in discoverer

    Hi,
    i am learning discover, can any body give clear explanation on
    cross tab reports in discoverer.how to create it . it with example ?

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • Creating Total for Discoverer Plus 10 Cross Tab

    Hi Everyone,
    Any known issue in creating total for Discoverer Plus 10g CrossTab?
    My Total did not display any value when the there is more than 1 data to be summed.
    Anyone encountered this kind of problem before?
    Any feedback is greatly appreciated! Thanks
    Regards,
    Angeline

    If attempting to calculate sum as total, try cell sum... If datapoints are a mix of detail and aggregates, try neutral aggregate for detail or better still seperate aggregate from group by items (e.g. in a cross tab worksheet, keep dimensions on the left hand side or page item and only aggregable facts in the datapoint area). Hope this helps.

  • On cross tab, sub totals are not displaying...

    i build the cross tab report.
    region  period    status_cnt
    ========================
    south   apr-07     10
         may-07     10     
         jun-07     15
            sub-total 35
    north   apr-07     18
         may-07     75     
         jun-07     15
            sub-total 108
    grandtotoal 143and when i applying subtotal and grand totals its returning nulls.
    i tried sum,cell sum but didn't worked out.
    and i am not suppose to use cellsum distinct (status_cnt is repeating.)
    how i have to display subtotals and grand totals in my cross-tab report.
    i am using OracleBI Discoverer Plus 10g (10.1.2.1)

    Hi,
    try to cerate a new calc :
    nvl(status_cnt,0)
    and create the totals on it,
    I think you got nulls in that column so it wont aggregate properly.

  • Discover group problem with cross tab report

    Hi, I'm working on a cross tab report in discoverer 4i and I'm having a problem with two of the colums. I'm doing a count on one field but because they are called something different they are being shown as two seperate columns rather than 1.
    I have one called 101 -AVG and another called 101-AVG. My condition pulls every result back that starts with 101 in the table. So because in the table the values are different it breaks the count into totals for 101 -AVG and 101-AVG.
    Is there some way I can group these results together into one field?
    thanks,
    Ian

    Pitson,
    better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
    BI Publisher
    Regards
    Rainer

  • Problems with sorting in cross tab.

    Hi,
    Can anybody help me? I use Oracle Discoverer Desktop 10.1.2
    The problem is:
    a have a cross tab in which at the left axis I have the items sorted by alternative sort. Among them there are two items with similar names, like "detail 1" and "detail 1", but with different recid and ordernumber.
    if I put only the 'name' of an item at the left axis - I see only one item with the name "detail 1", against both of them.
    if I put two colums at the left axis 'ordernumber' and 'name' - I see both, but there are additional lines with the same 'content' like:
    1     ;     100
    detail 1;     100
    2     ;     200
    detail 1;     200
    how can I avoid this and is there any way to see both item without ordernumber?
    Kate.

    Hi, Ott
    I use ordernumber only for creating alternative sort, not for publishing in the crosstab.
    Ordernumber only "prevent" me to publish the info I need correctly, if I put ordernumber in the table the duplicated rows appears.
    You see, the problem is:
    I need only the names of the details in the left axis, BUT the identical names of the details (with the different ordernumber) are displayed as one row, not as different. it is not correctly.
    what should I do to solve the problem?

  • Issue with the Cross tab report

    Hi,
    Please any one can help on cross tab report in discoverer.
    When i ran report for one customer, it is revenu by month for given year but when i ran for all customers, it is displaying only for one month.
    Thank you,
    Madhu

    Hi,
    Please any one can help on cross tab report in discoverer.
    When i ran report for one customer, it is revenu by month for given year but when i ran for all customers, it is displaying only for one month.
    Thank you,
    Madhu

  • Sorting a cross tab total

    I am a newcomer (user) to Discoverer so would appreciate some help.
    I have written a cross tab report which shows my sales people in the rows and different sales catagories in the columns. I have then put a total on my rows (total for each sales person) which works fine.
    I then want to sort my sales people by their "total sales" ie my calculation.
    Looking in the sort functionality I appear to only be able to sort the sales people by each of the actual columns of data which come back in the report (ie the sales categories - cat 1 or 2 as below)
    E.g
    Cat 1 Cat 2 Total
    Sales Man 1 10 15 25
    Sales Man 2 15 30 45
    I want to sort so that the 45 is viewed and Sales Man 2 is sorted to the top.
    Help?
    Ed

    Hi,
    Sorting a crosstab how you want is always difficult. If you only ever want two categories as column headers then it will be easier to use a table report and decode out the categories and sort by the total.
    Otherwise you will have to use a analytic sum with a partition to calculate the total for each sales in a calculation and then include that calculation as a dimension. You will then be able to sort the crosstab using this dimension and if necessary hide the content of the field using formatting.
    Rod West

  • How to create Cross Tab using Desktop

    Hi Everyone,
    We use Sundard Banner (Universities) with Discoverer.
    I would like to create a Cross tab
    | Final Grade
    |_______________________________
    Course Title|
    |
    |
    Valid grade values are: HP - High Honors
    H - Honors
    P - Passed
    Suppose we had 3 students for class: Emergency Medicine
    George Washington - HP
    John Adams - HP
    Abraham Lincoln - H
    Would like query to look like this:
    | HP, | H | P
    |_________ |_____|_________________
    Emergency Medicine| 2 | 1
    |
    |
    Can this be done using Desktop, pls advise... thx, Sandra

    Hi Rod,
    Thx for your help.... I think I got it to work... Can I run the steps by you:
    a) create table query with: course title, final grade, count of final grade
    b) duplicated query as cross tab
    c) dragged course title to left
    d) noticed that Discoverer create a "field" - called data point for: count of final grade
    e) delete all vertical fields and just left count of final grade
    quests, please:
    ===========
    1) I tried a few times to create a cross tab before posting quest, and this is the first time that I see that
    Discoverer automatically created a field called datapoint for count of final grade. Do you have to follow
    a crosstab workflow carefully to the data point field to be created?
    2) what is definition of data point?
    3) Please confirm: The data point is located in the white space of the cross tab?
    4) Please confirm: When running the query, the values of final grades run across the top,
    including "blank" column for null value
    5) If (4), there is a column to tabulate rows with null values, why is the value 0, instead of an actual row count
    6) Under the various column values, is the name of the datapoint field running as a second heading row
    EH | H | HP
    Final_Grade Count | Final_Grade Count | Final_Grade Count | Final_Grade Count
    I will try to paste 3 screen shots below, using the "Plain text Help" box to the right of the screen
    thx again for your help. sandra

  • How to move vertically the fields without using the Cross tab layout

    Hi all,
    I'm using Oracle Business Intelligence Discoverer Plus 10g (10.1.2.48.18).
    With Administrator I created a custom folder and I have the following list of fields:
    Ticket id
    Creation date
    Actual Situation
    Gravity
    Owner
    Category
    Group
    Inside my report I have as parameter the Ticket id, and then my intention is to create a page item for the ticket id, in order to change it directly from the report.
    Now my question is very simple. Instead to show the data as usual:
    !http://www.freeimagehosting.net/uploads/3da37e6a71.jpg!
    I'd like to know if there's a way to show these fields exactly in this way:
    !http://www.freeimagehosting.net/uploads/e578a40bb4.jpg!
    I tried to create a Cross tab layout, starting from the Table layout, but it doesn't work because I don't have data points to show, and above all I don't need a Cross tab logic.
    I need only to move vertically all the fields in order to show, for each ticket, all the ticket's details as shown above.
    Is it possible to have this layout ?
    Thanks in advance
    Alex

    Hi Rod, I'm sorry if I answered you only now.
    My expression "in order to change it directly from the report" was just related to the Ticket Id, but right now the customer's requirements changed and I don't need to change it inside the report ; I just insert the Ticket Id at the beginning as parameter and then I see all its details.
    So, I tried your second solution (row generators) following the article on the blog...and It worked perfectly.
    Summarizing I created:
    1. a folder called "Row Generator - 20 rows"
    2. a complex folder called "Fields names"
    and then I created a join between the Tickets folder and the Fields names folder with the Dummy field
    I also create a LOV (on the Administrator) based on a calculated field inside the Fields names folder (I followed the LOV example shown inside the Row Generators Blog Article).
    Now, created the first piece:
    !http://www.freeimagehosting.net/uploads/e578a40bb4.jpg!
    I'm trying to create others details blocks, always in "vertical style" (Customer’s Data, Further Information, etc) as below:
    !http://www.freeimagehosting.net/uploads/8e006eb3cf.jpg!
    Do you know if this layout is feasible ?

  • Suppressing levels in cross tab.

    Hello All,
    I have a project requirenment for one of the client and currently using CR 2008 for creating dynamic reports based on a finance database for profitabilty Analysis. I have been using lot of Web-Elements functionality in my crystal application and its going good to an extent, the only issue i have been experiencing is the dynamic change of the cross tab data based on prompts.
    Its a 4 level application where in users are prompted to select a specific level outta the 4 levels, they can select either few or all. Now, the issue is, in my cross tab i have mentioned all the 4 levels in my row field and the data is displayed according to the users selection through prompts, it works fine. But however if user does not select level 3 or 4 or any one of them then the specific cross tab row is displayed empty. I have tried selecting the option suppress empty rows under customize tab but that doesnt seem to work.
    I want only those levels to be displayed which are selected by users and suppress the rest, the empty rows in cross tab looks kinda odd to see. I am unable to figure out the formula string for the same.
    Any help will be appreciated. Thank you

    Hi
    Cross tab is nothing but a tabular representation of data.
    It displays zero values only when there is no data for the combination of corresponding row and column.
    We can not suppress this however we can display some string like "No data for this" or something else as per requirement.
    For this, do the below:
    - Right click on the summary value field on the cross tab -> Format Field.
    - Under Common Tab, click on X-2 for Display string. This would open the formula editor.
    - Put the below formula there:
    if IsNull(summary database field) then "No data for here"
         else "" & currentfieldvalue;
    You can change the display string as per requirement.
    Hope this helps!!
    Regards
    Sourashree

  • "Can Grow" property on Cross-Tab object can not be unlock

    I am using Crystal Reports XI.  My report uses a Cross-Tab object via SQL server.  I am having problem making my data column (Field Row) to increase dynamically in height when my data size increases.  Since the "Can Grow" property in the Format Editor is locked, it would not let me set the "Can Grow" to true to enable this function.  How do I unlock the "Can Grow" function so I can set it to true?

    The only other option I can think of would be to build a virtual cross tab, but in many cases, especially when the number of 'column' values is dynamic, this is not possible.

  • BI Publisher Pivot Table or Cross Tab

    Hai All,
    I have a doubt in developing a Matrix report in XML. I have developed a matrix report in RDF and the output is coming fine in RDF. I have generated the XML file which looks like this. I need to develop the report which displays employee details followed by the allowance which are dynamic.
    - <XXHRPRF>
    - <LIST_G_SUMRESULT_VALUE>
    - <G_SUMRESULT_VALUE>
    - <LIST_G_EMPLOYEE_NUMBER>
    - <G_EMPLOYEE_NUMBER>
    <EMPLOYEE_NUMBER>100026</EMPLOYEE_NUMBER>
    <PERSON_ID>80</PERSON_ID>
    <NATIONALITY>USA</NATIONALITY>
    <NATIONAL_IDENTIFIER />
    <UNIFIED_ID />
    <FULL_NAME>Thomas H Mathew</FULL_NAME>
    <ORGANIZATION_NAME>Corporate Affairs</ORGANIZATION_NAME>
    <PENSION_FUND_ID />
    <CS_SNO>1</CS_SNO>
    <CF_PENSION_CONTRIBUTION>3637.5</CF_PENSION_CONTRIBUTION>
    <CP_PENSION_COMP_CONTR>10912.5</CP_PENSION_COMP_CONTR>
    <CP_TOTAL_SALARY>72750</CP_TOTAL_SALARY>
    <CF_TOTAL_CONTRIBUTION>14550</CF_TOTAL_CONTRIBUTION>
    - <LIST_G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>1</TAG>
    <ELEMENT_NAME>Basic Salary</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>39650</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>2</TAG>
    <ELEMENT_NAME>Housing Allowance</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>25000</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>3</TAG>
    <ELEMENT_NAME>Child allowance</ELEMENT_NAME>
    <LIST_G_PERSON_ID />
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>4</TAG>
    <ELEMENT_NAME>Social allowance</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>700</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>5</TAG>
    <ELEMENT_NAME>Excess Allowance</ELEMENT_NAME>
    <LIST_G_PERSON_ID />
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>6</TAG>
    <ELEMENT_NAME>Additional</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>7400</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    </LIST_G_ELEMENT_NAME>
    </G_EMPLOYEE_NUMBER>
    - <G_EMPLOYEE_NUMBER>
    <EMPLOYEE_NUMBER>100030</EMPLOYEE_NUMBER>
    <PERSON_ID>82</PERSON_ID>
    <NATIONALITY>Canada</NATIONALITY>
    <NATIONAL_IDENTIFIER />
    <UNIFIED_ID />
    <FULL_NAME>Sara Wilson</FULL_NAME>
    <ORGANIZATION_NAME>Human Resources</ORGANIZATION_NAME>
    <PENSION_FUND_ID />
    <CS_SNO>2</CS_SNO>
    <CF_PENSION_CONTRIBUTION>1203.75</CF_PENSION_CONTRIBUTION>
    <CP_PENSION_COMP_CONTR>3611.25</CP_PENSION_COMP_CONTR>
    <CP_TOTAL_SALARY>316575</CP_TOTAL_SALARY>
    <CF_TOTAL_CONTRIBUTION>4815</CF_TOTAL_CONTRIBUTION>
    - <LIST_G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>1</TAG>
    <ELEMENT_NAME>Basic Salary</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>19600</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>2</TAG>
    <ELEMENT_NAME>Housing Allowance</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>22500</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>3</TAG>
    <ELEMENT_NAME>Child allowance</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>600</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>4</TAG>
    <ELEMENT_NAME>Social allowance</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>800</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>5</TAG>
    <ELEMENT_NAME>Excess Allowance</ELEMENT_NAME>
    <LIST_G_PERSON_ID />
    </G_ELEMENT_NAME>
    - <G_ELEMENT_NAME>
    <TAG>6</TAG>
    <ELEMENT_NAME>Additional</ELEMENT_NAME>
    - <LIST_G_PERSON_ID>
    - <G_PERSON_ID>
    <RESULT_VALUE>3075</RESULT_VALUE>
    </G_PERSON_ID>
    </LIST_G_PERSON_ID>
    </G_ELEMENT_NAME>
    </LIST_G_ELEMENT_NAME>
    </LIST_G_EMPLOYEE_NUMBER>
    </G_SUMRESULT_VALUE>
    </LIST_G_SUMRESULT_VALUE>
    <CF_PERIOD>MAR-2009</CF_PERIOD>
    - <XXHRPRF>
    I need to develop a cross tab format in RTF using template builder. Can we get this in matrix report using the standard wizard given in template builder or else it should be done manual. If it can be done through wizard can u please explain the process.
    And one more think what is the latest version of template builder available. In few cases its given as pivot table and in few its given as cross tab. I confused by that.
    This seems to be basic doubt, but please guide me.
    Regards

    i,
    I am developing cross tab report with group in BI Publisher(i.e matrix with group above report in report builder).
    My req.is
    Country1
    region1 region2 region3 --- (level1 column)
    d1 d2 d3 d1 d2 d3 d1 d2 d3 --(level2 column)
    Row1 10 15 18 24 38 40 36 35 78 --data
    Row2 -- -- -- --- --- -- - -- -- --
    regions(level1 columns) and d1,d2,d3(level2 columns) are data depenent on XML data.
    d1,d2 d3 may change in number based on data.Also we have page break on country.
    We could able to achieve in report builder but in Bi Publisher we are unable to achieve the same.
    Wizard in BI Publisher gives only one level of measure(region) only.
    Currently we are using BI Publisher template builder version 10.1.3.2.1
    Need help in this regard ASAP.
    Thanks in advance.

  • Is there a limit to no. of summary fields that can be used in a cross tab?

    Hi,
    While creating a cross tab is there a limitation to number of summarized fields that can be used?
    - The cross tab when uses 184 fields as summary fields leads to Crystal report application to crash at the time of export to excel.
    - Tried with two Datasources: XML and excel
    - If we reduce the number of summary fields used to 102 exactly, export works fine in excel.
    - If 2 cross tabs are used each containing 92 summary fields(in order to show 184) export to excel works fine.
    Please let me know if there is any such limitation which leads to CR application to crash when exporting in excel?
    Thanks
    Regards,
    Nidhi

    I suggest you purchase a case and have a dedicated support engineer work with you directly:
    http://www.sdn.sap.com/irj/boc/gettingstarted
    Or
    http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
    If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report.

Maybe you are looking for