Aggregation in Cross Tab

Hi All,
I have a cross tab report which has 4 measures. I have to aggregate 3 of them and I dont want to aggregate 4th because it is percentage of seats occupied.  Either i can aggregate all 4 measures or none. Any Idea how to solve this problem?
Thanks.
Payal

Hi,
I need to use both Summation and Average while calculation the "Total" values. I believe I would have to specify and if condition stating when the cost element (which is in the rows) is like headcount, total = average else total = summation.
However, I do not know how and where can I specify such a condition.
Kindly advise.
Thanks

Similar Messages

  • # Multivalue error in cross tab

    Hi All,
    I am using BO-launch pad 4.1,sp2 Data is from Bex-query using CMC.
    Table: Cross tab
    1)Dimenssion obj: CO-object
    2)Attributs: Co-obj-wbs elemt,costcentr,order
    3)Measure:Budjet aproval overall, Budjet for annul,Actual cost, Actual quantity,planned cost, planned quantity
    when drag i dimension co-obj,attributes and all measures it showing values but when i drag attributes and measures (No need to drag dimension) it is showing in crosstab
    # Multivalues error in all measure fields.
    Can you plz give me suggestions on this.
    Thanks
    Ganesh

    Hello,
    Please check if you have used exception aggregation on measures in the BEx queries. These aggregation might be using some dimensions as reference characteristics. And if that dimensions are not included, you might get these multivalue error.
    Good Day !!

  • Creating a Cross tab that contains fields with shared variables

    I am trying to create a cross tab in CR2008. I can get the field in the details but cannot choose it when trying to create a cross tab. Please help.
    Thanks.
    Shared numbervar MonHrs;
    Shared numbervar TueHrs;
    Shared numbervar WedHrs;
    Shared numbervar ThuHrs;
    Shared numbervar FriHrs;
    Shared numbervar SatHrs;
    Shared numbervar SunHrs;
    If dayofweek(today) = 1
        then {@CapacityTeamCount} * SunHrs else
    if dayofweek(today) = 2
        then {@CapacityTeamCount} * MonHrs  else
    if dayofweek(today) = 3
        then {@CapacityTeamCount} * TueHrs else
    if dayofweek(today) = 4 
        then {@CapacityTeamCount} * WedHrs else
    if dayofweek(today) = 5
        then {@CapacityTeamCount} * ThuHrs else
    If dayofweek(today) = 6
        then {@CapacityTeamCount} * FriHrs else
    if dayofweek(today) = 7
        then {@CapacityTeamCount} * SatHrs

    I don't use CR cross tabs as a matter of preference so I can't tell you if the shared variables are having an impact on their availability in the cross tab dialog or how to make the necessary adjustments...
    I can, however, tell you that you don't need a cross tab for what you are trying to do. All you need to do is split all of the IF formulas in to their own formulas.
    This will place each day in it's own column.
    Now... you'll notice that there's a lot white space and nothing's aggregated... Not to worry, it's easy to fix.
    Just create a grouping on which ever field you were going to use as "rows" in the cross tab... insert SUM totals in the group header... and hide the details.
    Now you have created your own manual cross tab, without using CR's cross tab object.
    HTH,
    Jason

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    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.....

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

  • Exclude rows from cross-tab

    I have a cross-tab in my report.  I am relatively new and hope this isn't a "dumb" question".   There are columns which are averages of data aggregated by week.  The last column is average over 4 weeks.
    I only want the report to show those rows where the total column is above 70.  How do I filter the rows to show only those columns above a pre-defined threshhold.
    Thanks in advance,
    Ken

    If you have the same grouping within the report as in the crosstab then you can create a formula that outputs the row field when the summary is greater than 70, i.e;
    if sum({cust.sales}, {cust.region}) > 70 then {cust.region}
    Use this formula as the crosstab row as opposed to the database field

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

  • Add a blank in webi cross tab

    Hi all,
    I have a webi cross tab and need to add a blank line in line 3, line 7 and line 9 etc (not regular pattern). How can I do that? If I use the insert row below, webi will add blank row for each line. Please help.
    Thank you in advanced.
    Grace

    hi
    Since web intelligence uses row level aggregation for calculations , there is a restriction in creating a new row like  u said, unlikely column insertion has no restrictions. we cannot insert by our own pattern.
    thanks
    Dineshkumar

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

  • Crystal Report Cross Tab Report

    In crystal report 2008, i created a cross tab report. Column shows sales order number and rows show item number.
    For columns that shows sales order #, I also wanted to show sales person name field right beside it. In cross tab expert, I added the field salesperson name.
    However, crystal cross tab shows the sales person at a separate column with duplicate information. I only want to show sales order no. with sales person name under one column. Is there a way to achieve this? Thanks.

    This would be a hard job.
    Have you tried Pivot Table function in Excel? You can play with it and get some ideas.
    Thanks,
    Gordon

  • How to get the last "reported" value in a cross tab

    Dear all,
    based on a BeX Query Universe I have built a report with a cross tab in webI.
    Maybe you can help me with the following issue. There I have a problem: I want to get in the Total-column always the last reported value, e.g. for Number Total Customers "66", not for Mar or Apr, because they are null.
    Calendar Month                      |Jan| |Feb| |Mar| |Apr| |Total|
    Number Total Customers         |54|    |66|  | |      | |       66
    Number Active Customers      |57|    |71|  | |      | |       71
    I hope that you understand my problem and could help as soon as possible.
    Thanks a lot in advance for your support.
    Best regards.
    Edited by: HOLWUE on Feb 8, 2010 1:40 PM

    Hi,
    If this question is related to Webi then post in the below forum.
    http://scn.sap.com/community/businessobjects-web-intelligence/content?filterID=content~objecttype~objecttype[thread]
    Regards,
    Sujit.

Maybe you are looking for