Row total percentage of Column

Have a request to display both the row and column totals in a pivot table, no problem. But what about also including a the percentage that each row total represents of the column total:
Example:
orders
Item jan feb march total % of total
a 1 3 5 9 40%
b 2 2 3 7 33%
c 3 1 2 6 27%
total 6 6 10 22 100%
Thanks.....

In the pivot table view click on the measures and "Duplicate" the measures column and display the total as percentage of the row or column based on your requirement. That way you will be able to display both the toals and percentages together
hope it helps
Thanks
Prash

Similar Messages

  • SSRS - % percentage ROW TOTALS don't calculate correctly in a Table Matrix

    SSRS - Report Builder 3.0
    I have created a report with a MATRIX table with a TOTAL ROW and a TOTAL COLUMN and the total column is calculating correctly but the ROW totals is not calculating correctly
    The screen shot below is of the Matrix table in the Report Builder 3.0 "Designer view" 
    When I run the report the column totals the percentage is averaged correctly, but the ROW TOTALS do not, some are close but i need them to be accurate.
    If you take the same data into excel the total percentage calculates correctly - if you compare the excel with the SSRS some rows do calculate close, but not accurate. the total column calculates correctly
    FY13-Q4
    FY14-Q1
    FY14-Q2
    FY14-Q3
    Total
    100%
    89%
    65%
    68%
    80%
    50%
    72%
    43%
    45%
    52%
    100%
    91%
    63%
    69%
    81%
    10%
    17%
    29%
    31%
    22%
    100%
    96%
    67%
    76%
    85%
    70%
    70%
    53%
    64%
    64%
    90%
    93%
    90%
    82%
    89%
    74%
    75%
    59%
    62%
    68%
    I Need the totals rows and columns to average the percentage correctly in the SSRS report.
    Please help...
    -Isaack

    Hi Katherine Xiong,
    The formula (SSRS Expression) i am using is the following
    =Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) / (Sum(IIf(Fields!AnswerText.Value = "No", 1, 0)) + Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) + Sum(IIf(Fields!AnswerText.Value
    = "n/a", 0, 0)))
    Basically if field value = "YES" it counts, if the answer = "No" if the value is = "n/a" it should not count in the total score percentage
    I get the correct PERCENTAGE on the 1st aggregate, but when the table has multiple aggregates the percentage is never accurate. 
    The Table below is using the above formula, the 1st aggregate is correct but if you get the average percentage from the 1st column it should be 86.2% is the accurate number, sometimes close but i want to report accurate numbers and not doubt SSRS reports
    compared to excel reports. 
    TOTAL ROW (highlighted on the screenshot in Yellow) is incorrect aggregate averages %, the correct average are the following
    [86.2%]      [71.5%]      [75.5%]     [87.87%]   [90.2%]     [69.9%]     [92.8%]
    -Isaack

  • BAM : Crosstab : Need to get percentage of row total for each cell

    Hi,
    I am new to BAM. I have a requirement for which I am using crosstab. Basically, I need to show number instances per human task per user. Human Task is the row header, user is the column header, and I am using count(instance id) to fetch the count of instances. I am able to show the sum of values for each row and column, but I also need to show the percentage for each cell(based on row total).
    I do not know if it is possible to fetch the total for further calculations. I believe the calculated field will be processed for each cell, and hence there will be no sum available.
    Also, crosstab does not have a percent of total aggregate function.
    Kindly advise.
    Regards,
    Himanshu

    Hi,
    For constructing summary, COLLECT is very useful.
    1. Create one new internal table STAB having two fields.
       a) licensetype
       b) cnt
    2. Suppose your original internal table is itab.
    Loop at ITAB.
    STAB-licensetype = itab-licensetype.
    STAB-CNT = 1.
    COLLECT STAB.
    EndLoop.
    3. In this way, you will get DISTINCT license types, and their count.
    Hope this helps.
    regards,
    amit m.

  • Poor Response Time- Total on a column for n number of rows

    I have a table with column cost on my custom OAF page.
    When I query for configuration it returns me many rows. so I have set the default rows for table = 10 and then I neatly have next button to go to other rows.
    I have enabled totalling on cost column.
    Row for Total appears showing sum for the costs only on that page( for only 10 rows). I click for next from drop down , and I see total for the costs for the second page.
    Ex:
    table has 17 rows and
    page 1 :
    total row at the end saying 1000.00
    page 2 :
    total = 1500.00
    I want to display Total Cost by summing up the costs for say 300 items returned by the query on all the pages , in above case 2500.00.
    I thought of a way to do it ;
    I added a sumVO with query "select sum(...) from table" .
    Added a new region in my page , added a messageStyleText based on the sumVO, and pulled the total cost in.
    It shows me the right result, but my problem is performance.
    It is getting very slow. I am using the same query as for displaying the results in table, but summing on cost column.
    Can I avoid writing the sum query and do it programmatically in OAF ??
    Thanks in advance.

    Even if you use programmatic approach, what do you think program will do?
    Program has to fetch all the rows in the middle tier and sum it up using for loop. No way its going to solve your problem.
    First find out the reason for the slow performance using Trace option. and fix the query.
    If your not able to fix it, try materialized view for the summation query.
    To take sql trace for OAF page refer this link infor http://prasanna-adf.blogspot.com/2009/01/sql-trace.html
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Attempting to Display Total/Percentage in Answers when grouped by Attribute

    Hi all,
    I'm relatively new to BI and attempting the following setup. (I'm simplifying the model somewhat of course).
    I have a Fact called Job which has an attribute called Type ( along with others such as Create Date , Delivered Date , Length , Score etc ).
    What I need to display , is the following columns together in Answers.
    Type | Count of Type | Percentage of Total Number of Jobs.
    Count of Type is just the number of times the Type shows up for a specific type value.
    I can easily do a "Count of Type" as a Logical Column in the Business Model and Mapping for the Fact Table using a Default Aggregation Rule of Count.
    Percentage of Total Number of Jobs is supposed to be the Percentage that the specific Type Count is of the total number of jobs . i.e. Count of Type / Total number of all Jobs as %age.
    This is where I have my issue. I can create a logical column called Total Number of Jobs using default aggregation rule of count on Job ID and create a Percentage using Calculation Wizard just fine.
    But when I try to have this column in Answers against the first two columns I don't get the right result - I get 100% for every row in the third column - because of course it is grouping the results by Type so it is calculating the "Total Number of Jobs" and consequently the Percentage measure for each individual Type. Thus I get something like
    Type | Count of Type | Percentage of Total Number of Jobs
    1 | 5 | 100%
    2 | 5 | 100%
    When I really want to get
    Type | Count of Type | Percentage of Total Number of Jobs
    1 | 5 | 50%
    2 | 5 | 50%
    Is there any way I can "store" the total number of jobs in the Business Model and Mapping Layer as a logical column in the Job Fact so that it does not display the count aggregate for the grouping (Type) but instead just the total count ?
    I'll be glad to clarify if this sounds too fuzzy.
    Thanks in advance.
    AB.

    Hi ,
    Thanks for the reply , that is successful at getting past the issue of having 100% as the result in every row which would happen if we used a measure built in the Business Model and Mapping layer.
    I'm running into some other minor issues but I think they are data row count related .. I will update this if they are not.
    Additional clarification if it helps anyone else with similar issues.
    Basically Type is an attribute of the Job Detail Fact ( 0 to many rows per job ) . There is also a Job Fact that is at a higher level of granularity ( one row per job ).
    What I am trying to do is display the Percentage or even the Total Number of Jobs ( row count of Job Fact ) in each row along with the Type and Count of Type of Job Detail.
    This is of course made complex because not all Jobs have a Job Detail row and some have many.
    In my Job Detail logical table source , I have the Logical Table Job Detail mapped to both the Job and Job detail physical tables . ( I have tried connecting both via Inner and Left Outer joins) .
    So ideally I would see something like
    Type of Job Detail | Count of Type of Job Detail | Total Number of Jobs | Percentage of Total Number of Jobs
    1 | 5 | 50 | 10%
    2 | 5 | 50 | 10%
    Where the percentage and total are of Jobs and the total is less than 100% .

  • Discoverer Report Row Total

    We are running Oracle BI Discoverer Viewer version 11.1.1.4.0. When we upgraded to this version we lost some functionality. In the previous version the report displayed the number of rows the query returned. Now the row totals display only under certain conditions. For instance, I have a inventory report name INV-REP-120 and it prompts the user for 6 parameters & displays 6 columns of data. One of the parameters is named ‘Keyword' and I’ll use this one in the problem description. When I set the keyword parameter to ‘HINGE’ The bar at the top of the results sheet it displays:
    ‘Rows 1-25 of 81, Columns 1-6 of 9’
    When I change the keyword to ‘TUBE’ the viewer displays:
    ‘Rows 1-25, Columns 1-6 of 9’
    The total rows are not displayed but the number of pages. It appears that if the total number of rows is less than 200 then the row total is displayed. I changed the rows displayed from 25 to 100 and scrolled down to the last page and now the reports displays:
    ‘451 – 458 of 458, Columns 1-6 of 9’
    When I use the key word TEE I get :
    ‘Rows 1-50, Columns 1-6 of 9’
    There are 596 tees, which would be about 12 pages of 50 rows. I noticed that at the top of table there is a field ‘Page 1 of 5.’ It looks like if there are more than 5 pages it does not display the total number of rows.
    There seems to be some interaction between the total number of rows the number of rows per page and perhaps a setup on the back-end that determines whether or not the row total is displayed. How can I configure the viewer at the front-end and/or back-end to consistently display the row total for a report? Is there a Discoverer preference located in the pref.txt in the apps server that controls this?

    Hi,
    You can inform to your SP to edit the table EUL4_documents
    and ask him to modify the name of the report that is stored in the column DOC_NAME .There is absolutely no necessary to open the work book that is stored in the database and change the work book name
    Regards
    Swamy!

  • Get Total of a Column of Advanced Table and use it in Controller in OAF

    I have an advanced table on my custom page. I am calculating total of a column in my footer. I am acheiving this using the standard functionality of advanced table by setting total value property of my column to "TRUE" and displaying the total in the tablefooter components.
    In addition to this I want to retreive the total value from my footer and use it in my Controller for further validations but I am not able to acheive this.
    I tried some code already present in the Community for the same but nothing turned out right for me.
    Can anyone please help me on this.

       Hi there ,
      You can manually add the values of each row of a  column and make use of the value obtained in your controller .
    Here is the logic ,
    1) get the vo instnace attached to that table .
    2) Loop through every single row in the table .
    3) get the value and sum up the value and use it in your controller .
    int fetchRowCount = vo.getFetchRowCount();  
    voRowImpl row = null;  
    int count =0;
    if (fetchRowCount  > 0) { 
    RowSetIterator iter = vo.createRowSetIterator("Iter"); 
    iter.setRangeStart(0);
      iter.setRangeSize(fetchBidderRowCount);
       for (int i = 0; i < fetchBidderRowCount; i++) {
      row = voRowImpl iter.getRowAtRangeIndex(i);
       //use RowImpl getters   10.   
             Number personId = row.getPersonId();
    count =personId+count;         // add each and every value and have in variable
    iter.closeRowSetIterator();
    Regards ,
    Keerthi

  • BP Aging Anamolies (Period amounts and Row total anamoly)

    Hi All,
    Is there a known bug with the Customer Receivables Ageing Report and Suppliers Liabilities Ageing Report in SAP B1 v2005A PL 18?
    When trying to produce Backdated BP Aging report;
    1. The Total amount for several BP accounts reflected on the ageing report match the respective BP account balance as at the selected date, but the ageing amounts across the page (ageing intervals) do NOT correctly cross-add to the row Total
    2 The Grand total of the Total column of the ageing report does NOT agree to the balance of the corresponding GL control account as at the "Posting date: To"
    3.  The rogue BP accounts involved all seem to have had some "reversing" transactions which give rise to the variance, such as: JE debits which have been included in the calculation of the account balance/row Total (often = Nil) of  the BP report, but do NOT appear to have been included in the total of the interval in which the JEs occurred.
    Incoming Payments that have been cancelled, such that the debit transaction (the reversal) has been included in the calculation of the account/row Total (often = Nil) of the BP report, but does NOT appear to have been included in the total of the interval in which the cancellation occurred.
    Report Selection Criteria:
    Customer/Supplier group: All
    Interval: Periods
    Ageing date:
    From: blank
    To: prior end-of-period date
    Posting date:
    From: blank
    To: prior end-of-period date
    Due date
    From: blank
    To: blank
    Document date:
    From: blank
    To: blank
    By Journal postings:
    Display Customers/Suppliers  with Zero Balance = Yes
    Display Reconciled Transactions = No
    Consider Reconciliation Data = Yes
    Thanks in advance
    Regards
    Devinder

    Hi Gordon,
    Thannks a lot for pointing to the thread; however this thread does not answer my query. I am sure there must be SAP Note that explains my issue however I am waiting for someone to point me in the right direction.
    Thanks once again
    Regards
    Devinder

  • Analysis report with totals on specific columns

    I have an analysis report that I need to create totals on specific columns. If I turn on "Grand Totals" from the "Edit View: Table" section, all of the numeric columns will display grand totals. This is a nice automatic feature, but I only need totals of specific columns. Not all numeric columns need totals nor do Grand Totals of some columns make any sense.
    For example, to display opportunity details, we will have on the report:
    Opportunity Name, Item number, Item Description, Quantity, Price, Extended Price
    Since the opportunity may have multiple items on it, having a grand total of quantity and unit price makes no sense. All we need is Grand Total of the opportunity extended price.
    Is there a way to selectively turn on/off column totals or is it an all or nothing option?
    Thanks in advance.
    Edited by: nsidev on Sep 1, 2009 10:10 AM

    Actually, i just solved the problem.
    Here is what I did:
    1. I added a column to the "Design Criteria" section (step 1). To keep the units consistant, I made sure that the data element was suitable for the value (I used a currency element). Ensure you note the position of the new column, mine was in position 11.
    2. Under the newly added elements "Column Properties", I set it to HIDDEN and changed the name to "Grand Total"
    3. Under the "Edit Formula", I changed the formula to be: SUM(<numeric column>)
    4. In "Create Layout" (Step 2), I added a narrative view to the bottom of the page.
    5. In the "Edit Narrative View", I set the appropriate formatting and added the following: Total Extended Price: @11
    6. Ensure that "Rows to display" is set to 1.
    Save and run
    All done, works like a charm.

  • Hide row values for certain column in GRR2

    Hi Experts,
    Looking for some help in report painter. I need to hide row values for certain columns in report painter. The requirement is I have 5 columns in the report, the 5 th column is the sum of col 1 to 4 and in my row i have a formula setup to sum of values for each column, what i would like to do is for column 1 thru 4 i didnt want to display the total values in row total but i wanted to dispaly value for column 5 in row total. I have been trying my best with putting formula, but couldnt succeed.
    Could somebody let me know is there an way to get this addressed.
    Thanks in advance
    Best Regards,
    gj

    How was it achieved ? Did you use sections for the columns for which rows needed to be hidden?
    I have a smiliar issue of hiding certain rows for few columns.

  • Remove the word "Total" in Row Totals in Pivot Tables

    Hi,
    Is it possible to remove the word "Total" that appears in Row Totals in Pivot Tables?
    Eg. If there are 2 Dimension Columns -- Year and Month .... and if we do row totals on Year
    The total appears as *'2008 Total'* or *'2009 Total'* etc. i.e. Each of the Values is followed by the word 'Total'.
    However, i would like the totals to display only the values '2008' or '2009' without the word 'Total'.
    Is this possible in OBIEE 11.1.1.5.0 ?
    Thanks,
    Ab

    Hi ,
    Goto Total -> Format label and type in @.This will remove the word"Total". I have tested this in 10g, try this and let me know if it works in 11g.
    Rgds,
    Dpka

  • Page Total for a Column in JSF HtmlDataTable

    Hi All,
    I need an example to calculate page total for price column in HtmlDataTable.
    Each page displays 10 rows and there are 50 rows hence 5 pages in datatable.How to calculate page total after displaying the rows on page.
    Thanks in advance.

    Just get the desired sublist of the datalist and sum the price? You can get the starting index and the rowcount from the HtmlDataTable by its getFirst() and getRows() methods respectively and use it in List#subList(). Then iterate over the list and add the price value of every item in a loop to the total value. You can display it in the footer of the datatable. You can define a footer with <f:facet name="footer">.

  • Crosstab: Sort Descending by Row Total

    Good Morning,
    I've created a simple Crosstab that documents qty per CPT code for each of 3 reporting periods.  Currently, the crosstab sorts records by CPT code which is my only row field.  My column field is formula based on discharge date (3 separate reporting periods.  The data is Sum of Quantity field. 
    While the report is functional, I need to go one step further.  The user would like the report sorted on total quantity in descending order.  That is, the CPT with the highest grand total quantity is to be shown at the top of the report. 
    Can anyone suggest the best approach to solving this challenge?
    Thanks for your help!!

    Wow, That was quick and easy.
    Thanks for the help...I probably should have noticed that in the first place.

  • How to Remove totals on few columns from SEM BPS layout

    On SEM BPS layout it has 10 5 charatestics columns
    and 10 key figure columns.
    out of these key figures I want see totals on some
    coulmns and for few columns I do not want to see totals.
    for wxample it does not make sense of seeing total under
    the salary incrase percentage coulmn.
    Please suggest anyway we can remove total for some  
    columns on the layout

    Hey, thanks -- everything worked as you described. It never would have occurred to me that the "put back" button refers to the browser selection not the layout selection, for reasons I give below.
    I think Aperture exhibits some conceptual confusion here. First of all, a "light table" is created by the New > Light Table command, and you add images to the newly created light table just as you would add them to an album. But those images don't go on the light table layout until you drag them from the browser to the layout table. The "put back" button and "remove from light table" contextual menu command both mean remove from the layout. The phrasing of the contextual menu command make it sounds as if it will remove the clicked image from the light table's collection of images, like removing an image from an album -- it would have made more sense to name this command "put back". Furthermore, the "put back" button is above the layout display, not above the browser, which to me implies that it applies to selections in the layout display. To select an image in the browser, and click "put back selected" seems backwards -- if you just selected the image in the browser, your attention is focused on the browser, not the layout; from the browser's point of view, the button should read "bring back" not "put back".
    The documentation didn't really help when I was trying to figure this out. Sometimes the Aperture documentation refers to just a "light table", as on the overview on page 732. On pages 733 and 734, though, it refers to a "light table album". On page 735 of the Aperture manual there is a very brief explanation of how "to add images to the light table" and "to remove an image from the light table". Here, "light table" refers to the layout not the album. The explanation of the "Put Back Selected" button says to select an image then click the button, and the picture shown is of an image selected in the layout, not in the browser.

  • Row totals in datagrid

    Hi,
    I have a datagrid with 5 rows and 3 columns and i am able to
    load data into it using http service but i want to calculate totals
    of each row and i have to print them on the labels placed below the
    datagrid for each column
    i want to calculate the row totals and display it on the
    label
    plz find me some solution
    thanks

    I guess one way to do it would be to calculate the total from
    your webservice (I am guessing you're using php to generate an xml
    file) and then pass that to your flex project using the http
    service.
    or you could simply write a script for it within your
    project.

Maybe you are looking for