Cross-Tab Total, Labels

Hi experts,
My reports with Northwind consist of:
Group: Country
Rows: Region
Columns: Order Date
Summarized Fields: Sum of Quantity, Percentage of Sum of Quantity, Sum of @IDLT50, Percentage of Sum of @IDLT50, Percent of Sum of Quantity
Total:  Sum of Quantity, Percentage of Sum of Quantity, Sum of @IDLT50, Percentage of Sum of @IDLT50, Percent of Sum of Quantity
@IDLT50 Formula: If {Order_Details.ProductID} < 50 Then {Order_Details.Quantity}
Question 1 -  Last Column's Percentage has of Sum of @IDLT50. ==> I want to calculate Sum of @IDLT50 / Sum of Quantity instead.
Question 2 - Label of Percentage of Sum of Quantity ==> I want to append Total Quantity like as "Percentage of n=Total Quantity".
Your kind advices would be really appreciated.
Thanks,
Edited by: david.hd.park on Aug 16, 2011 4:20 PM

Hi,
Question 1:  As Debi said doing a percentage is complcated.  Crosstabs even more so.  Instead of doing the percentage in the Crosstab go back to the designer and Right-Click the Percentage of Sum of @IDLT50 and select Format Field.  Go into the Common tab and into the Display String formula. 
Enter in the calculation for the percentage here. 
If Sum ({Orders_Detail.Quantity}, {Customer.Country}) <> 0 Then
    ToText ((CurrentFieldValue / Sum ({Orders_Detail.Quantity}, {Customer.Country})) / 100)
Else "0";
The result of this formula can only be a string which is why I've had to use ToText. 
Question 2:  The column Labels are just Text objects.  You can double click on it and edit as normal.  Word of note, if you change the crosstab, the labels get reset. 
Good luck,
Brian

Similar Messages

  • 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

  • Summarizing Cross Tab totals as Average

    Hello,
    I have summarized fields in a cross tab report as sum of, however want to average the total of one of them- is there a way to do this?
    Thanks,
    WA

    Select the crosstab field. Right click and modify summary function to average. You can change it in the crosstab expert as well

  • Totals in Cross tab report

    Hi All,
    I have created a cross tab report and in this report there are 8 sub-totals.
    I need to total up the first 7 sub-totals and one more total summing up the first 8 sub-totals. Is there any in-built functions to do this.
    Thanks in advance
    Dhinesh

    Look at the Total Wizard. You should be able select the right options to have totals at different level of the data. Also give us an example what you want to achieve.

  • Row labels in cross tab

    hi all,
    i have the following cross tab rpt to preparehow can i put row labels like area office,
    area_off     code     name     Sum of sanc      Sum of disb                                                                                                                                                                               
    BANGALORE BO                  BAA0002     C TRIBHUVAN     6840000     6130000     8280000     7270000     19865000     10860699     34985000     24260699                                                                               
    BAA0003     S.LAKSHMI     30105000     20010000     39665000     29460000     35015000     33291688     104785000     82761688                                                                               
    BAC5502     E C DAYANANDA     7484000     9560646     18407000     14143517     25136000     16729159     51027000     40433322                                                                               
    BAC7100     K.M.JAYAKUMAR     6400000     21052688     17725000     9975000     18280000     15459790     42405000     46487478                                                                               
    BAH0002     VASANTH H GUDI     600000     250000     6520000     3866773     3435000     3335000     10555000     7451773                                                                               
    BAH0005     SURENDRAN     0     2635000     1890000     3180000     0     2590000     1890000     8405000                                                                               
    BAH0007     JOHN D J     4350000     3383343     1870000     4390000     7200000     3567160     13420000     11340503                                                                               
    BAH0021     SELVAM HART               844000     0     0     850000     844000     850000                                                                               
    BAH0028     Z R SRINIVAS     16552000     8804106     10014000     18172965     22642000     18291925     49208000     45268996                                                                               
    BAH0042     UDAYA KUMAR HEGDE M.     -1500000     9295000     1170000     2746502     -3500000     4350267     -3830000     16391769                                                                               
    BAH0073     N NAGENDRA KUMAR     17220000     1840817     13880000     11282416     2700000     6806787     33800000     19930020                                                                               
    BAH0078     PUSHPA.V.GUDI     2388000     9343226     2040500     7377020     16300000     6924515     20728500     23644761                                                                               
    BAH0237     USHA K S                         15670000     2275000     15670000     2275000                                                                               
    BAH5003     SHARANAPPA MADINOOR     -205000     2093000     5215000     7310742     -600000     3300000     4410000     12703742                                                                               
    BAH5006     SHIVAREDDY D M     5400000     1854628     100000     6105000     4450000     1810000     9950000     9769628

    Hi
    You can change the display string by right click on the row ->Format field->Common ->Display string.
    Here you can define conditions as per your requirement to display the values you require.
    Also you can write a formula field with all the specifications and use that in row in your cross tab.
    Hope this helps!!
    Regards
    Sourashree

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

  • Total is not matching in Cross Tab Report

    Hi Every one,
    I am using Crystal Report Basice 2008 for sap business one.
    I added a One cross tab report .But the Row level totals are not matching in the report.Please suggest.
    Thanks and Regards
    DEV

    Hi Dev,
    What is the 'Summary' type you've chosen for the Summarized fields?
    If it's Min or Max, the Row totals would also show Min/Max of all the columns for that row.
    -Abhilash

  • Running Totals and Formulas with Cross Tabs

    Hi,
    I'm using Crystal Reports 2008 and am having two issues using Cross Tabs.
    The first is that I want to have two crosstabs. They both will have a common Y axis (Oppourtunity.Sales Rep), and on the Y Axis I want one to show all (Opportunity.Create Date) where (Opportunity.Staus = Won) and the other where (Opportunity.Staus = In Process), but I can't figure out how to contruct the formula to return this result.
    The other issue, is that in addition to summarizing based on Sum (Opportunity.Expected Revenue), I would also like to create a running total to show the cumulative (Expected Revenue) Week over Week.
    Any direction would be fantastic.
    Thank you,
    Michael

    Please go through the SAP Notes listed here which would help you how to create mannual running totals in crosstab
    [https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=runningtotalin+crosstab&adv=true&note_number=&component=&sdn_updated_on_comparator=GE&sdn_updated_on=&sortby=cm_rnd_rankvalue]
    Regards,
    Raghavendra

  • How to show underline and overline for subtotal and total row in Cross tab

    Hi,
    I am developing cross tab report where i need to show undeline and overline in data for subtotal row and total row so as to distuingish normal rows from subtotal and total row.
    Thanks,
    Mahesh

    Hi BIPuser,
    i looked at the updated template, we need undeline on the data corresponding to subtotal row for ex. row 2.
    We have xml tag in xml data UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y' then we need to show underline and overline on data i.e on 121,122,123,221,222,223 ,not on ROW2.
    value1 value2
    row1 200 300
    row2 400 700
    we need underline and oveline on data 400 and 700 since it is subtotal data based on condition UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y'.
    Hope you understand.
    Please help!!!!!!
    Thanks,
    Mahesh
    Edited by: user13450806 on Feb 2, 2011 12:14 AM

  • Issue - Hiding summary field labels in cross tab.

    Hi,
    I have a cross tab displaying two summarised value(say revenue and qty sold) and an embedded summary based on two dimension  (say City and year).
    I have a requirement to hide a particular city (Say Dallas)  in my cross tab.  But I am using the summarised value pertaining to Dallas in my embeded summary calculation.  So I cannot use the specified order in the group option to discard it.
    If I use the suppress option.  I am able to suppress all the values except the summarised fields label.  I used the following formula to suppress it.
    Gridlabelat(City,currentrowindex)= "Dallas" then true else false
    Gridlabelat function is not working for label since it text.  How to hide the label in my case.  Please guide me.
    Thanks and Regards,
    Subbu S.

    Hi,
    As I said earlier the labels are considered as Text and not as fields.  So its not allowing me to use any of the grid functions.
    Thanks and Regards,
    Subbu S.

  • How to put title or labels on top of row headding of Cross Tab

    Hello..
                 I created one cross tab.I put labels in the top row,these labels are coming only in first page only,I tried repeat row label also,But not working....I need all the labels in all pages..

    Hi,
    In XI r3 - on a  cross-tab table under the page layout properties there is a  "Repeat header on every page" option. Is this checked?
    Regards
    Alan

  • Cross tab report total

    Hi
    I created a cross tab report, i am using total in all summarized filed but i need to divide my total values into sub group wise in total filed.
    like total  product 3000
                  Sales    1000
                 Net profit 700
    but its totaling as 4700, but i need to do as different group wise totals,

    The values showing in each group is itself sub group total and the grand total will be the sum of all these totals. Pleas let me know what exactly the output you are expecting?
    Regards,
    Raghavendra

  • Cross Tab Report totals

    I built a cross tab report using the wizard from BI pub plug-in. It is selecting counts of employees by building that are Male, Female and Total (see below). My XML data has all 3 counts in it (Male, Female,Total) so I just selected them for the BI report. The only issue I have is the grand totals that show on the far right. I need it to only total the "male" and "female" totals (instead of all 3). This is making the numbers doubled in the total.
    It is using this in the cell and I am wondering if there is a way to only let it total specific columns
    <?./T1?>
    Building1____________________Building2___________________Total
    Female___Male___Totals_______Female_____Male_____Total___
    1_______5______6___________4_________2_______6_______24
    Thanks.

    Look at the Total Wizard. You should be able select the right options to have totals at different level of the data. Also give us an example what you want to achieve.

  • Need Grand Totals in cross tab.

    Hi All,
    I have requirement in Crystal using Cross Tab.
    I need to show cummulative sum (Running Totals) for my Measure value.
    and at TOTAL i have to show the sum of all those above values..
    like...........
    IMy data in general is like as below...
    IND US
    Jan 10 20
    Feb 15 10
    Mar 15 15
    Total 40 45
    when I used Running total field for my measure..it would be...
    Jan 10 20
    Feb 25 30
    Mar 40 45
    Total 40 45
    But, In the second case I need totals as 75 95
    i.e, I have to sum of running total feild.
    My out put would be as below.
    *Jan 10 20*
    *Feb 25 30*
    *Mar 40 45*
    *Total 70 95*
    I was able to get Cumulative sum for measure, but am not able to get Total.
    Please help to find it out....its very imp for me now
    Thanks in advance.
    Krishna

    Let's try looking at it another way.  A runnnig total using the SUM function is essentially adding a numerical value for mulitple rows:
    R1 - 5
    R2 - 5
    R3 - 6
    Now if I insert a running total for each detail line, that would calculate the following:
    R1 - 5  RunT = 5
    R2 - 5  RunT = 10
    R3 - 6  RunT = 16
    Now I am going to assume that you are grouping your data and resetting your running your total for each group value:
    Group 1 - A
    R1 - 5  RunT = 5
    R2 - 5  RunT = 10
    R3 - 6  RunT = 16
    Group 1 - B
    R1 - 10  RunT = 10
    R2 - 10  RunT = 20
    R3 - 15  RunT = 35
    Group 1 - C
    R1 - 8  RunT = 8
    R2 - 16  RunT = 24
    R3 - 10  RunT = 34
    And what your user is asking for is a running total for all rows of all groups:
    G1-A  16  RunT = 16
    G1-B  35  RunT = 51
    G1-C  34  RunT = 85
    Instead of trying to sum the individual group running totals, consider creating a separate running total that sums the individual row values without resetting the running total at the group level:
    G1A R1 - 5  RunT = 5
    G1A R2 - 5  RunT = 10
    G1A R3 - 6  RunT = 16
    G1B R1 - 10  RunT = 26
    G1B R2 - 10  RunT = 36
    G1B R3 - 15  RunT = 51
    G1C R1 - 8  RunT = 59
    G1C R2 - 16  RunT = 75
    G1C R3 - 10  RunT = 85
    This is essentially the same thing as saying (ABC) + (DEF) + (GHI) which is simply employing the transitive nature of addition.
    Fuskie
    Who expects if all you care about is the result after processing all the groups, however, it would be easier to just say sum(value)...

  • Totals in a cross tab report

    I'm working with Crystal Reports XI.  We have an existing report that was created using the Cross-tab report type.
    There are 3 summary fields in the report:
    - direct cost
    - indirect cost
    - Total ( direct cost + indirect cost)
    Everything worked fine until now because both the direct cost and the indirect cost were being rounded to 2 decimal places.  However, I have a new requirement to round the indirect cost total to a whole dollar ( no decimal places) before adding it to the direct cost total.  This creates a problem for the third summary field because I'm only able to do:
    - create a formula field of (direct cost + indirect cost rounded to a whole dollar)
    - use that amount in the summary field
    The problem is that then the indirect cost is being rounded for EACH record separately.  But what I need to to calculate the Total indirect cost first and only after I have that total rounded to a whole dollar, add it to the direct cost total.
    So basically, I would like for the third row to simply show the sum of the first row and the second row.
    I can't take the current total ( direct cost + indirect cost) and then round this total because the rounding for the total direct cost needs to be done in a different way than the rounding for the indirect cost total.
    Is that possible with the cross-tab report type?  Is it possible to have 2 running totals in a cross tab report and then have a custom field in the report that rounds each using the appropriate rounding algorithm and then adds the two up.
    thanks

    Thank you for your suggestions.  I kind of suspected that I wouldn't be able to use the current cross tab report to achieve this but since I've never worked with a cross tab report before I wanted to make sure this is the case before investing the time to do it some other way.
    I will try using the manual cross tab report as you suggested.
    Thanks again.

Maybe you are looking for

  • Android devices not getting push notifications after a while

    We have just installed a new Exchange 2013 setup and started to move mailboxes across. Users that have Android devices though are noticing that push notifications are not reaching them and checking in the ECP I can see their last sync times are a lon

  • I am trying to register my new copy of Lightroom 5

    Why am I thwarted?????

  • Two Dimensional Vector ?

    Hya, Is it possible to have two dimensional Vectors ? if yes, how would be declared ? I have a class called pencil, I want to put each 12 pencils in 1 Vector (pencil box) then add each of those vectors into a vector (box of pencil boxes) thanks in ad

  • If argument with a tiny indexOf problem

    These values get through the argument: may may/jun and get separated This does not: may/jun/jul What am I doing wrong here? function Blomstring(ar){ var newAr = []; var newData = []; var findEl = false; var el = ""; for(var i=0; i<ar.length; i++){ fi

  • Authority object S_TABU_NAM

    Hi all,      In my SAP system, the authority object 'S_TABU_NAM'  does not exist.      It only has S_TABU_CLI, S_TABU_DIS, S_TABU_LIN, S_TABU_RFC.      WHY? Thanks Kical