Running sum per column in pivot table

Hello,
I am facing a problem with a running sum in a pivot table. As you know, the running sum provided by OBIEE spans across rows and columns. My requirements force me to have a running sum per each column (I have four columns, one for each quarter of the year). My pivot is as follows:
------------------------------|| 1st Quarter / 2nd Quarter ...
type of product / status || (Measure / Running Sum) / (Measure / Running Sum) ...
I've tried using the evaluate function with a "sum over" but that doesn't seem to work either.
Do you have any ideas that could be useful to solve this?
Thank you in advance for your time,
João Marques

Do not use the "running measure" button in pivot table, but try this :
edit the formula of your measure and type :
RSUM(mesure by dimension)
where dimension is the attribute dimension that you put on the ROWS of your pivot table
Exemple : I've got the criteria REVENUE, YEAR, CUSTOMER TYPE
I put the YEAR in the Columns of the pivot table
I put the CUSTOMER TYPE on the rows of the pivot table
I put the REVENUE in the measures of the pivot table
Measure has the formula : RSUM("Facts Revenue".Revenue BY Customers."Customer Type")

Similar Messages

  • Calculation on two columns in pivot table

    Hello all,
    I have a view:
    Dept Year Amount
    Accounting $500 2010
    Accounting $700 2011
    Engineering $100 2010
    Engineering $600 2011
    and etc
    pivot table:(data displayed side by side)
    Dept: 2010 2011
    Accounting $500 $700
    Engineering $100 $600
    Is there a way in pivot table to create additional column and do a calculation on that column? New column called 'Change' (actual calculation amount of 2010 minus amount of 2011 per each department). I see the feature which allows to duplicate the columns in pivot table. But this is it... no additional calculations.
    Thank you in advance,
    Sonya

    Deepak,
    My "YEAR_NO' is already in the column area. Once I created 'calculated column' and entered formula '2011'-'2010' I got what I needed.
    Thank you very much for the solution.
    Sonya
    In my view I also have column called EXPENSE. When, I added the 'calculated column' to 'YEAR_NO' with formula '2011'-'2010'. It created two calculated columns 1) after the EXPENSES and the other one after YEAR_NO. Is there a way to be specify to display the DIFFERENCE only once after the YEAR_NO??
    Edited by: user8461308 on Dec 20, 2011 7:44 AM

  • How to extend No. of columns for PIVOT table in BI Publisher Desktop

    Hello Everyone,
      I am using the Oracle BI Publisher Desktop to design the TEMPLATE for Oracle Reports.
    I need to create the PIVOT table .In my PIVOT table I need to display 9 columns but when I tried to create PIVOT table by dragging 9 columns only first 4 columns are displaying in report.
    Can anyone suggest me how can I increase the number of columns in PIVOT table?
    Thank You.
    Regards,
    Guru.

    hi jim
    if you carefully look inside the form field's you will find the logic of sort . if you remove that you will get the data without any sorting order.
    else send me your template and xml to my email id i can look into that .
    email : [email protected]

  • How to sum the column in a table seperated by sign.

    How to sum the column in a table separate by sign.
    For Example:
    A B
    10 MOHAN
    -15 KUMAR
    -25 MARCH
    50 MAY

    SELECT  SUM(CASE SIGN(A) WHEN 1 THEN A ELSE NULL END) SUM_POSTIIVE,
            SUM(CASE SIGN(A) WHEN -1 THEN A ELSE NULL END) SUM_NEGATIIVE
      FROM  tbl
    /SY.

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • Calculated Percentage Columns in Pivot Table loose formating in Excel

    I have a simple report built using pivot table ( OBIEE 11.1.1.5.0)
    1 Metric and 1 dimension using pivot table. and I duplicated the metric column and change it to % column.(Show data as % of column). SO far so good. Below is the snapshot
    http://tinypic.com/r/2s14xa9/7
    Now i download the report in excel and all the % values are messed up . Below is how it looks
    http://tinypic.com/r/bede90/7
    I tried messing with data formats etc..nothing works.. I cannot add a custom column format to the metric column since it will impact the derived % column.
    Is this a bug ?Any pointers ..
    Thanks

    Hi,
    Follow up this SR:
    SR 3-5060435331: Calculated Percentage Columns in Pivot Table loose formating in Excel
    Workaround: (not sure may be give a try)
    also give a try like below one then try to download it may work.
    In that % column -->add the below statement in the Custom CSS section of the column properties:
    mso-number-format:"\@"
    Refer snapshot here:
    http://i53.tinypic.com/a09kqv.jpg
    This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
    Thanks
    Deva

  • IF statement in Calculated Field for Share point, doesnt calculate sum in my Excel Pivot table.

    Hi Everyone
    I used this in SP calculated column field.
    =IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
    Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
    Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
    Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
    Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))    
    it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
    Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
    Thanks,
    Norman

    Hi Everyone
    I used this in SP calculated column field.
    =IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
    Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
    Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
    Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
    Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))    
    it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
    Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
    Thanks,
    Norman

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all,
    I used OBIEE 11.1.1.6.2 Version.
    I drag one Parent-child hierarchy column and one measure and show result with a pivot table view.
    But when I click "+" icon to show detail level data,
    It messaged that: "*the layout of this view combined with the data,selections,drills,or prompt values chosen resulted in no data*."
    But it can show every-level data when I used table view.
    It was so strange..
    Did anybody meet this before?
    Thanks in advance.
    regards,
    Anne

    Hi,
    Yes, I have the same problem with pivot table for hierarchy dimension.
    If you use a normal table (not pivot) it seem to work. Unfortunatley with restrictions as normal table view have.
    Same problem still exist in 11.1.1.6.5
    I have logged a SR to Oracle about this.

  • Suppressing Columns in Pivot table when adding subtotal

    Hi,
    We have a dimension hierarchy like this:
    Level 1 ---> Level 2 ---> Level 3
    T ---> A ----> B1
    T ---> A ----> B2
    T ---> C ----> D
    T ---> E ----> E
    The report we are trying to build is of this format:
    Row_Num --> Dimension --> Amount
    1 --> B1 ---> 100
    2 --> B2 ---> 50
    3 --> A ---> 150
    4 --> D ---> 75
    5 --> C ---> 75
    6 --> E ---> 100
    When using Pivot table and subtotals, we are getting the report as below: (where for Dimension Value "E" there are two rows)
    Row_Num --> Dimension --> Amount
    1 --> B1 ---> 100
    2 --> B2 ---> 50
    3 --> A Total ---> 150
    4 --> D ---> 75
    5 --> C Total ---> 75
    6 --> E ---> 100
    7 --> E Total ---> 100
    We do not want the subtotals to be calculated if Level 2 and Level 3 are the same.
    Any ideas on how to achieve this?
    Many Thanks,
    Seetharam

    Hi user7276913,
    Are you sure you are using a Pivot Table view? Or are you using the standard table view?
    In a pivot table, you can only have (n-1) sub-totals where n is the number of fields in your "Rows" section. So in your case you have two fields, so you can only have 1 sub-total. See my screen shot below where I have a similar situation:
    !http://i47.tinypic.com/icux5y.png!
    Note that in the screen shot only the first column has a summation and the second does not. This makes sense since a sub-total and the last column would be the same as the values being displayed in the "measures" section.
    What you described in your post seems more like what I'm seeing in a standard table view
    !http://i48.tinypic.com/34z12zp.png!
    Based upon what I'm seeing in your sample report, it seems like you are missing some kind of line item number or transaction number or some field that uniquely determines a row. If you add this field into the pivot table you will get exactly what you want.
    e.g. Pivot Table Rows = Customer # (with summation Enabled) , Document Type (Summation Enable), Line Number
    Good luck and if you found this post useful, please reward points!
    Best regards,
    -Joe

  • Formating column in Pivot Table (Hyperion Interactive Reporting 9.3.1)

    I have a simple pivot table with multiple columns (8) and I have 6 different pivots. I drag the pivots into the report section, but none of the column widths or row heights align properly.
    How do you size the column widths in each pivot and I'm trying to avoid auto-size because that does not get it right.
    Thanks,

    The 6 pivots are different because the rows indicate something entirely different. for example:
    Pivot 1:
    Row Label: Customer Gender
    Column Label: Quarters (1-4)
    Facts: Sales
    Pivot 2.
    Row Label: Customer ethnicity
    Column Label: Quarters (1-4)
    Facts: Sales
    Pivot 3.
    Row Label: Customer Age group
    Column Label: Quarters (1-4)
    Facts: Sales
    Pivot 4.
    Row Label: Customer City
    Column Label: Quarters (1-4)
    Facts: Sales
    Then I grab each pivot and drag them into the report section to create 1 report.
    A better solution?

  • Hiding columns in pivot table OBIEE 11g

    Hi experts,
    I am trying to create a pivot table with individual values in columns but I also need to display a grand total as values but also as percentage and as cumulative percentage.
    I duplicated the measure once in the measure area, and selected display data as percentage of column, and another time using display cumulative and percentage of column.
    The result is fine, but all the elements are displayed as column for the percentage and for the cumulative. Or, I only need the Grand Total Percentage and Cumulative, but I don't need all the columns for Percentage and cumulative.
    I have tried to find out a way to customize the XML but nothing good.
    Is there a way to display only the grand total for percentage and cumulative without having to display all the individual columns?
    Any help highly appreciated.
    Regards

    If I get your question correctly.. You are trying to present the grand total towards the end of the Pivot and OBIEE is displaying the totals of all the sections and then the Grand Total.
    Try not to use the grand total of the sections but create a new pivot view and just display the grand total in that view.
    So you will have your normal sections and then another pivot view just for the grand total.
    As far as I know, there is no option to hide the individual section totals.

  • Calculated column in pivot table

    How can I add a calculated column (Daily Average) in a pivot table like this?
    "Product" in row and "Date" in column and a "Daily Average" column to the right.
    Date1 Date2 Date3 +Grand Total       Daily Average+
    Product

    click right mouse on column you will get duplicate column
    in duplicate column propties you have option like aggreate avg apply it you will get result
    regards
    bethamsetty

  • Percentage of Total Count of Category in Raw Data Column in Pivot Table

    I have normalized my data in Excel and I have a column: "question 1" and then a column for "gender" which has values as "female" and "male". I have created a pivot table for these two variables, "Gender" and
    "Question 1". My values for Females and Males from the Gender data are presented within my pivot table. I want to present these numbers as percentages of Total "Females" and "Males" that are in the "Gender" column in
    my master dataset. Pivot tables will only allow me to do %'s of data already in the pivot table
    I am attempting to use Calculated Fields within Pivot Tables to resolve this. I do not want to create a separate column in my master data set, but rather, complete all calculations within the pivot table

    Thank you very much, 
    The steps you provided use the total "gender" within the pivot table as the "grand total". 
    If I have a binomial variable, "gender" with "male" as one of the variables, I need the grand total be the total male in the raw data. 
    Example: if there are 100 total males in the raw data for the column "gender"
    and I construct a pivot table with a dependent variable which is a survey question and "gender"  and 30 males "agreed" with the survey question and 20 females "agreed" with the survey question, your instructions for % of grand total would show 60% for
    males who agree [males + females who replied to the survey question],
    when, what I need is the total males in the raw data, 100, used as the total so that the percentage of males who answered "agreed" to the survey question is 30% of all males. 
    Thank you very much

  • How to hide/suppress empty columns in pivot tables

    In a pivot table, is there any way to do something like "suppress missing data" to make an entire column hidden only if it is empty? I have a situation where I can't hide an entire measure because the measure has values for another dimension, but I would like to hide the column that is empty. See the example below. I would like to hide the combination of Dim1 and Measure 2, and the combination of Dim 2 and Measure 3. I can't hide all columns with Dim1 and/or Dim2, or Measure2 and/or Measure3. Is there any way to hide just the column with the empty combination? Thanks.
    Dim1 Measure1 Always populated
    Dim2 Measure1 Always populated
    Dim1 Measure2 Always null
    Dim2 Measure2 Always populated
    Dim1 Measure3 Always populated
    Dim2 Measure3 Always null

    Bhawna -
    That made a difference, but it still needs some work. The IfNull() function picked up every value in the columns that I wanted to hide and changed them to zero. The conditional formatting that you suggested hid the content in those columns from the HTML. However, there ended up being several issues:
    1) IfNull() picked up other null values that happened to be in the resultset, so the conditional formatting was applied to more than intended. I could correct that by changing the data value in the physical database columns for the entire pivot table columns that I want hidden, but then I have to work around having bogus values in those intersections. Still, that is a possible workaround.
    2) The column headers for the columns that I want to disappear did not go away. When I applied CSS display:none, it shifts the pivot table cells to the left, so a lot of the data ends up under the wrong column headings.
    3) CSS display:none only hides the content from screen readers. When I view the pivot table on the dashboard and print it to a PDF, the data in the columns that I want to disappear are back.
    That still seems like it's a long ways from "suppress missing data" for the entire column. Thanks for your suggestion.
    Daniel

  • Report totals with dimension hierarchy column on pivot table incorrect

    Hi,
    I have a pivot table based report that has one dimension column, a dimension hierarchy column and various measures.
    The row totals do not match, detail to total, and I have tried both complex server based aggregate and report based aggregation, but neither are giving me the correct answer.
    I have also tried adding the column that is the same as the top level as the hierarchy, but hidden, but this does not help.
    I have also tried adding the lowest level of detail column, but hidden, but this does not give me the solution I need as all of the figures then appear at detail not aggregated level.
    Any ideas please?
    thanks,
    Robert.

    Can you validate the query hitting to the database and compare the results?
    Mark if helps.
    Thanks,

Maybe you are looking for

  • Opening .indd files in CS5 that were created in a newer version

    I need to open .indd files in InDesign CS5.  Apparently those files were created in a newer version of InDesign, to which I do NOT have access in order to create legacy (IDML) versions of those files.  What is the "fix" for this issue?

  • Days of Payment Terms

    Hi All, I want to know the No. of Days according to <b>Payment Terms</b>..... Path of the Payment Terms: Goto SE11 and insert T. Code <b>V_T052</b> in Database Table...... Click on Display Icon....Now click on Contents (CtrlShiftF10).... Now Display

  • How to cancel a movie download

    I tried downloading a movie for the first time last night and my computer stopped working. Turned out I had to buy a new power supply and a new mouse. So I want to cancel my purchase. I can pause this very long download, but how can I tell ITunes to

  • Health and Utilization Monitor page

    Hello, On my ciscoworks hum page, by default i have the cpu utilization summary chart and device availability report chart (2 pie graphs). The chart for device availability is for 30 days. When i click on my pie chart, i only see data for the last da

  • Can't find the eyedropper in PE8

    Sorry for this probably very simple newbee question: Where do I find the Eyedropper Tool in Premiere Elements 8? Thanx, Michael