Percentage based ONLY on a total in a crosstab report

HI all, I created a report (crosstab), very simple, in which I show on the rows the STEPS and on the columns the SITUATIONS.
So, for every intersection I have a value as usual (the TICKET_COUNT)
Then, I added the Totals at the bottom and on the right and everything worked fine !!
But now, I need to add a field at the right of my crosstab to show the percentages calculated ONLY on the total (the one on the right)....
With the predefined percentage It doesn't work because I can't base the TOTAL as datapoint inside the wizard; I tried also with a calculated field, but instead to have ONLY one field, I have many fields repeated many times.
So I would have something like this in the example:
(PROGRESS) (OK) (PENDING) (TOTAL) (PERCENTAGE)
(STEP_A) (2) (7) (3) (12) (42,85)
(STEP_B) (3) (1) (2) (6) (21,43)
(STEP_C) (4) (2) (4) (10) (35,71)
(TOTAL) (9) (10) (9) (28) (100)
I used the () to separate all the fields and the values...is there another way to show better the data ?? (once it was possible to insert images, but now it doesn't work......)
Any help will be appreciated
Thanks in advance
Alex

Hi John, thank for yor answer.
I try to explain to you better.
I achieved quite easily this result:
               IN PROGRESS       OK        PENDING       TOTAL      
STEP A              2             7            3           12       
STEP B              3             1            2            6       
STEP C              4             2            4           10       
TOTAL               9             10           9           28        where the totals are the native vertical and horizontal totals (not calculated fields).
Now I want just to add an additional field called PERC. which calculates ONLY the vertical TOTAL's percentage as below:
               IN PROGRESS       OK        PENDING       TOTAL       PERC.
STEP A              2             7            3           12        42,85 %
STEP B              3             1            2            6        21,43 %
STEP C              4             2            4           10        35,71 %
TOTAL               9             10           9           28        100 %where 42,85% = (12/28)*100
21,43 = (6/28)*100
35,71 = (10/28)*100
I tried to add a calculated field, but,because the report uses a crosstab layout, this field is repeated many times and not once as above.
Do you know a trick or a workaround in order to maintain the crosstab layout (the initial 3 fields + the vertical total) and add ONLY a field (the percentage) at the end ??
Thanls again
Alex

Similar Messages

  • Calculate percentage based on checkbox results in Numbers iOS

    Using Numbers iOS, I've created a gradebook to keep track of my students' progress.
    I have used the Checkbox format for my results, and I would like to create a formula that will calculate a percentage based off of the checked results.
    What formula could I use to convert the TRUE and FALSE results from my checkbox cells into 1s and 0s, add up the score, and then convert the total score into a percentage?
    I've attached a picture to help explain what it is I'm trying to do here. I'd like to keep the checkboxes cells as checkboxes and only have the results converted in the "Grade" Column.
    Thanks for your help!

    Hi joey,
    Here is an approach. The screenshot is from OSX but the formula should work well for you.
    The formula in F1 =COUNTIF(A1:E1,TRUE())÷5
    My reporting cell is formatted as %.
    quinn

  • Result Analysis - Profit Percentage based on Revenue

    Deare Gurus,
    While executing Result Analysis, we see profit percentage on the right side as percentage onthe basis of costs. We would like to view such detail as a percentage of revenue
    eg: standard
    Revenue - 100
    Costs - 80
    Profit - 20
    Profit percentage = 20/80 = 25%
    We want it to be 20/100 = 20%.
    Please help!!!!

    Hi Babu,
    I think your example is not totally clear. From what I understand, you need to calculate a result in percentage based on the result of two other columns. What you can do is to use the first result (from the two columns) as a CKF. And then, to this CKF, use the result calcultation options of the query desinger for percentage.
    Hope this helps.
    Regards,
    Diego

  • Percentage based on the Date and Dimension -  WEBI

    Hello,
    I have to calculate percentage based on the Dates and a Dimension.
    I have BEX Query as source and reporting is done on BOXI - WEBI
    Here is the table structure in the report.
    List# , Process01, Process02.
    List# is unique and Process01-Has 4 operations, Process02 has 3 operations (and these Operations can change from 3 to 7 or 2).
    Operations will have a 'Date' only when it is completed.
    and when all the operations in a 'Process' have 'Date' then i need to get the 'Latest Date'. If few of the operations are not confirmed, then i need to get the percentage like when 2 of 4 operations have date it will be 50% and when no operation is confirmed then 0% and so on .
    Example Cube data:
    List#,ProcessCategory,Operation,Date
    100,Process01,456,11/11/2010.
    100,Process01,457,11/12/2010.
    100,Process01,489,
    100,Process01,490,
    100,Process02,890,11/13/2010.
    100,Process02,891,11/14/2010.
    100,Proceess02,892,11/15/2010
    Result:
    List#, Process01, Process02
    100,50%,11/15/2010.
    Please help me in this, i tryed different logics but it is giving ERROR at percentage.
    Your help would be appreciated!
    Thanks in advance.

    I applied this:
    If([Process Category] InList("Process01") And IsNull([Date]);[Percentage];Max(Date)))
    [Percentage] = (Count([Date])/Count([Operation]))*100.
    but, this is not becoming true - even when Operation has one Date
    Showing result as:
    List#,Process01,Process02
    100, 11/12/2010, 11/15/2010
    But result should be
    100,50%,11/15/2010
    Can anyone help me achieve the right result!
    Thanks in advance.

  • Percentage based on two result of the columns

    Hi all,
    My report loos like
    Type     posting order  Number of records  Date diff    %
    A     1          1        1
    A     2          1       1
    A     3          1       1
       Result                          3     3                 100%
    B     1          1       1
    B     2          1       1          
    B     3          1       0
       Result          3          2                  66%
    As u can see that i need to calculate the percentage based on the result of two columns.
    Can u please throw some light ..
    Watin for reply
    Thanks
    Babu

    Hi Babu,
    I think your example is not totally clear. From what I understand, you need to calculate a result in percentage based on the result of two other columns. What you can do is to use the first result (from the two columns) as a CKF. And then, to this CKF, use the result calcultation options of the query desinger for percentage.
    Hope this helps.
    Regards,
    Diego

  • How to display grand total only on the last page of my report

    Hello
    I need to display the grand total amount of the invoice only on the last page of every report. If the report has 1 page then the grand total will be displayed on the 1st page. If the report has 2 pages then a subtotal will be displayed on the 1st page adding up all the amounts on page 1 only, and the grand total will be displayed on the 2nd page, adding up all the amounts of page 1 and 2. If the report has 3 pages then the a subtotal will be displayed on page 1 adding up all the amounts of page 1, and another subtotal on page 2 adding up all the amounts of page 2, and the grand total are displayed on page 3 adding up the amounts of every page.
    supplier amount
    xx 100
    yy 100
    subtotal 200
    page 1 of 2 --here i need to display only the total amounts of page 1
    supplier amount
    subtotal brought forward 200 --then i need to bring total of page 1 over to page 2
    qq 300
    zz 300
    total 800 --here i have reached the end of the report and  
    need to display the grand total
    page 2 of 2
    --Currently i am displaying this on my report
    supplier amount
    xx 100
    yy 100
    total 800 --this one gives the problem cause it displays the grand total
    ---------- on page 1 of 2 even before you can see the amounts on the
    next pages
    page 1 of 2
    supplier amount
    qq 300
    zz 300
    total 800

    put the grand total in a frame and set it to print on the last page of the enclosing object.

  • Percentage based on Status using per group

    Hi Gurus,
    Can you help me with this? You have any approach of getting the percentage based on status using per group?
    Currently I have this code below but it doesn’t have result but no error. I am trying to get the % In Complete.
    <?xdofx:(sum(current-group()/NUMINCOMPLETE)/(sum(NUMSUBMITTED) + sum(NUMCOMPLETED) + sum(NUMINPROGRESS) + sum(NUMINCOMPLETE)))*100?>
    Thanks Much,
    JP
    Edited by: BIPnewbie on Feb 6, 2012 3:05 AM

    Use this:
    <?xdoxslt:div(sum(current-group()/NUMINCOMPLETE), ((sum(NUMSUBMITTED) + sum(NUMCOMPLETED) + sum(NUMINPROGRESS) + sum(NUMINCOMPLETE)))*100?>
    Thanks,
    Bipuser

  • ALV: how to display only subtotals and total rows in the output

    ALV: how to display only subtotals and total rows in the output
    i am getting output
    i am getting subtotals for respective fields
    but i want to display only subtotals and totals rows in the output
    i have tried the
    totals_only   parameter in slis_layout_alv
    but it is not working.

    hi,
    For TOTAL
    For the amount field / quantity field in the field catalog give DO_SUM = 'X'    for WHOLE total
    For SUBTOTAL
    For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
    DATA: lt_sort type SLIS_T_SORTINFO_ALV,
    ls_sort type slis_sortinfo_alv.
    CLEAR ls_sort.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'Give the field name that you do the sum'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    APPEND ls_sort TO lt_sort.
    fieldcatalog-do_dum = 'X'.
    for subtotals
    WA_SORT-FIELDNAME = 'ERSDA'.
    WA_SORT-SPOS = '2'.
    WA_SORT-UP = 'X'.
    WA_SORT-SUBTOTAL = 'X'.
    APPEND WA_SORT TO IT_SORT.
    Refer
    http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
    regards,
    Prabhu
    reward if it is helpful

  • Row-Based Only option for post processing operator

    Hi,
    Have a question on the role of the "Row-base Only" option for post processing operators. I am trying to understand how a post-processing operation can be done in a row-based mode. A coded PLSQL procedure in a post processing operator is expected to run only once. So I am not clear on how this option might affect the execution of the transformation. Any clarifications would be appreciated.
    Thanks,
    Mazen

    Hi Carsten,
    My question is more on what is the use of the "Row-based only" checkbox that shows up in the properties window for a post-processing operator. How does this checkbox affect the execution of the post-processing transformation?
    Regards,
    Mazen

  • Calculating Grand Total based on the section totals

    Hi,
    I have a webi report with a section. Outside the section block I have a grand total block. I have a section on Shop Names. At the total level I calculate calls per hour average. So at the end of each sections the total would look like
    Shop 1
    Shop 1 Calls : 61
    Shop 2
    Shop 2 Calls : 45
    I need to calculate call per hour at the grand total ...which should average the totals in the section
    Grand Total : 61+45 = 106/2=53. I needed guidance as to how based on the section totals I can write a formula to calculate averages of the values present in the section. Both are different blocks ( Section and Grand Total)
    I cannot write a direct formula as it will give me error caculation beacuase of the nature of data in the report.
    Please let me kow on this.
    Thank You,

    Hi BOCP-BOE ,
    Thank you very much for the quick response.
    I tried with          
    =Sum([V_Calls_Per_Hour_Average]) ForAll ([V_Calls_Per_Hour_Average]) In Report
    =Sum([V_Calls_Per_Hour_Average]) ForEach ([V_Calls_Per_Hour_Average]) In Report
    But this gives me error
    I calculate calls per hour as a subtotal for each shop. ( There is a section on shop so for each shop under the section we will have calls per hour total)
    The formula to calculate calls per hour is little complex
    =If(Count([Date_Appeared];Distinct)=1;(Sum([Number Of Total Calls])/Average([Hours_Worked/60));(Sum( [Number Of Total Calls])/(Sum([Hours_Worked]/60) ForEach([Date_Appeared]) Where([Date_Appeared]<>Previous([Date_Appeared];Row)))))
    My think that the formula to calculate calls per hour has very little to do with summing the values for calls per hour. Please note that I have a V_Calls_Per_Hour_Average that holds that calculation.
    Please let me know on this.
    Thank You

  • IMac 320GB HD only shows 298GB total ?

    I am pretty new to the MAC world and noticed that my newly purchased IMac 24" which comes with a 320GB hard drive, only shows a total size of 298GB. Where did the other 22GB go? Does this file system use it up for something I can't see?
    Thanks in advance,

    Hello and Welcome to Apple Discussions. 
    Phillip is unnecessarily harsh but what he says is true. If you look at the iMac pages online you'll see a disclaimer:
    {quote:title=http://www.apple.com/uk/imac/specs.html:}{quote}
    1GB = 1 billion bytes; actual formatted capacity less.
    I installed a 320GB drive in my 2003 iMac and have 297.97GB capacity. This applies to all computers and systems and is much more noticeable in these days of massive hard drives. 
    BTW, MAC = Media Access Control, Mac is short for Macintosh. . Welcome to the Mac World!
    mrtotes

  • Currency symbol only for grand total.

    Hi,
    My requirement is i want currency symbol $ only for grand total, all the rows in that column do not have the symbol.
    I need some your help.
    Thank you.

    Although I couldn't understand why you dont want currency format in rows, here is my suggestion.
    Create your report as
    1 dim1.column1 dim2.column2 Measure.Revenue ......... You will get values as below
    1 Value1 Dim2Val1 100
    1 Value2 Dim2Val2 200
    1 Value2 Dim2Val3 300
    UNION
    2 'Grand Total' ' ' Measure.Revenue
    Final result will be as below
    1 Value1 Dim2Val1 100
    1 Value2 Dim2Val2 200
    1 Value2 Dim2Val3 300
    2 Grand Total 600
    Now apply conditional formatting for dim1.column1 in criteria and make the values Bold
    Apply conditional formatting for Measure.Revenue and select Currency in number format.
    Let me know if it was helpful or you were looking for something else.
    Thanks

  • "Row-based Only" checkbox for a post processing operating

    Hi,
    Is there documentation available on the "Row-based Only" checkbox for the post-processing operator? Any links to more information on this would be appreciated.
    Regards,
    Mazen

    Hi Carsten,
    My question is more on what is the use of the "Row-based only" checkbox that shows up in the properties window for a post-processing operator. How does this checkbox affect the execution of the post-processing transformation?
    Regards,
    Mazen

  • How to calculate totals in Blocked ALV Report

    Hi All,
    Can any body tell how to calculate totals & sub totals in
    Blocked ALV Report[Blocked List].
    Thanks in advance
    Thanks & Regards,
    Rayeezuddin.

    read this it might help
    Sums                                                       
    15. No_sumchoice(1) TYPE c : This parameter allows the choice for summing up
    Only by fieldcatalog.
    Value set: SPACE, 'X'
    'X' = fields which are to be summed, passed by the calling program (FIELDCAT-DO_SUM = 'X'). The user should not be able to change this value interactively.
    16. No_totalline(1) TYPE c : Removes the option of having totals after sub-totals.
    Value set: SPACE, 'X'
    'X' = no total record is to be output. Subtotals can still be calculated and output. The fields in the subtotals are flagged DO_SUM = 'X' in the field list.
    17. No_subchoice(1) TYPE c : Does not allow the user to interactively change the field chosen for subtotals.
    Value set: SPACE, 'X'
    'X' = value whose change triggers subtotals, provided by the calling program. The user should not be able to change this value interactively.
    18. No_subtotals(1) TYPE c : No subtotals possible          
    Value set: SPACE, 'X'
    'X' = no subtotals.
    19. Numc_sum(1)  TYPE c : Totals only possible for NUMC-Fields.
    20. No_unit_splitting TYPE c: No separate total lines by inh.units   
    21.totals_before_items TYPE c: Display totals before the items   
    22. Totals_only(1) TYPE c :  Show only totals      
    Value set: SPACE, 'X'
    'X' = only total records are output.
    23. Totals_text(60) TYPE c : Text for 1st col. in totals   
    Value set: SPACE, string (max.60)
    ' ' = The first column in the total record contains an appropriate number of '*'s to indicate the total by default. If the first column is wide enough, the string 'Total' is output after the asterisks.
    'String’ = The string passed is output after the total indicated by '*', if the column is wide enough.
    24. Subtotals_text(60) TYPE c : Texts for subtotals
    Value set: SPACE, string (max.60)
    ' ' = In the first column of subtotal records, the subtotal is indicated by an appropriate number of '*' by default. If the first column is not a subtotal criterion, the string 'Total' is output after the asterisks, if the column is wide enough.
    'String’ = the string passed is output after the subtotal indicated by '*', if the column is wide enough and the first column is not a subtotal criterion. If it is a subtotal criterion, its value is repeated after the total, if the column is wide enough.
    ELSE TELL ME I WILL PASTE COMPLETE HELP
    regards

  • MAP and Total stock in 1 report

    Hi,
    For one of the reporting requirement i need to show Moving average Price & Total stock in single report. MAP is saved in cube 0COPC_C04 and Stock in cube 0IC_C03.
    So i created a multiprovider on them. My report layout is bel;ow
    Material   Plant   Storage location MAP total stock
    Issue is that MAP is stored only at MAterial level and Plant level but not at storage location level.
    and stock is at all level.
    I am getting output like this:
    Material   Plant   Storage location MAP  total stock
    MAT1      PL1    #                          10     -
    MAT1      PL1     ST1                     -       20
    MAT1      PL1     ST1                     -       30
    User wants that MAP is same at different storage locations in a plant so MAP value should be repeated even if its same.
    MAT1   PL1    #        10  -
    MAT1   PL1     ST1   10    20
    MAT1   PL1     ST1   10    30
    How can i achieve the same....
    Thanks
    Dipika

    You could create a characteristic hierarchy with Plant as the parent node of storage location.
    Or create a structure in the query and define a cell restriction to keep the Plant MAP value against the Storage Location cells.

Maybe you are looking for

  • Controlling an FLV with a DW behavior

    Is there piece of Javascript, or better yet, an extension out there that I can use to control an FLV in a DW page? I am developing e-learning pages using Dreamweaver, where video #1 plays and the learner has to answer a question about it. When they c

  • Advise for SLA setup needed

    Hi experts, I need to configure SLA for ITSM. There's a special requirement for the different SLAs and I am not quite sure how to set them up. The service and reaction profiles depend on these factors: - transaction type - priority - category of mult

  • In ALE setting how to distribute GL account to severals company codes ?

    Hi all , I use ALE to distribute G/L account data from one company code to one another company ( different host ) . It's work fine now. Now I want to  distribute G/L account data from one company code to severals  company codes. But in cross-company

  • JTable wont refresh in JInternalFrame

    hello people my JTable wont refresh when iam using the form as an JInternalFrame, but if i use it as JFrame then the table will refresh, here is a bit of my code public void getTable()           Statement sat;           ResultSet rs;           try {

  • No audit reports

    I have some issues with a new installation of reporting 5 . The primary server is zcm11SP3.(also installed zrs-resources.zip) I use SLES11SP2 for the reporting server also tryed it on SLES11SP3 but no differents.(No errors during installation) Still