AVG in Pivot Table

Hi.
I generate a pivot table with BI Publisher Desktop Plug-in in microsoft word. I select average instead of sum. But it doesn't work in BIP. Do you know why?
Thank you
R.

Have you try to create a calculated item in the pivot view ?
Suppress you percentage from the pivot view and from the properties of year or month, you must have a option
to create a calculate item.
Cheers
Nico

Similar Messages

  • % of calculation in GRAND TOTAL in PIVOT TABLE

    Hi Gurus,
    I have a requirement to calculate the percentage based on the grand total in pivot table,but in row wise i am getting the percentage while in grand total level i am not getting correct values.I have tried with all the options like:average,Sum,Default,Max,Min,count etc and also with the percent of row,column,parent column etc.
    Please give me a solution for this ASAP.
    view of my table is
    Previous Value||Present Value||change between Pres & Prev||% of change(((pres - prev)/pres)*100)
    10||20||10||50%
    00||01||01||100%
    10||05||-05||-50%
    here i should get values in grand total like
    20||26||06||23%
    but i am getting values when giving sum for %of calc in measures values
    20||26||06||100%
    if i give avg for %of calc in measures values then i am geting
    20||26||06||33%
    how to solve this prob.Can any one give sol plzzzzzzzz
    Thanks,
    Naveen

    Hi,
    Refer : http://www.skurabigroup.com/blog/?p=579
    Regards,
    Srikanth

  • Problem in pivot table view

    Hello gurus,
    I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name.
    Region               Sales                         
              Jan     Feb     Mar     Apr …………..Dec     Avg     Total
    A          10     40     92     92          32     xxx     xxx
    B          73     83     39     78          87     xxx     xxx
    So this is what I have to do. I am able to do this with one measure with created new calculated item. Now I have to create this report using two measures and the in the new measure I have to show only average and total.
    For example
    Region               Sales                              Target
              Jan     Feb     ………Dec     Avg     Total Avg Total
    A          10     40          32     xxx     xxx          xxx          xxx
    B          73     83          87     xxx     xxx          xxx          xxx
    Here sales and target are two different measures. The problem is when I add target column in measures; it will show all the month which I don’t require at all because I need all the month for sales only and for target I just need average and total. I try from head to toe but not getting any thing like this.Can i do this using other view if possible.
    Help me guys. If you need more explanation then please let me know.
    Thanks
    Regards,
    Suhel

    Anybody replies please.....
    Is this possible that we can use Calculated column in other calculation in pivot table. For example, total of one measure divided by total of another measure in pivot table.
    Regards,
    Suhail

  • Calculating Average on a Pivot table- Not calculating correct

    Hello All BI Techie's,
    I have a requirrement, which is calculating the average out of a column , this column is aggreated by sum in the rpd.
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)
    2012 / 07      18878.0      55
    2012 / 08      18817.0      53
    2012 / 09      18770.0      63
    Grand Total      18770.0      17
    Now, I want calculate a column which gives the average of Associate Headcount, ( 18878+18817+18770)/3 , how I can achieve that?
    I tried, using avg(associate headcount), it not returning correct average, any insight?
    Please share your ideas.
    Thanks,
    Bala

    Thanks Srini, The tried your solution but still the problem exists.
    I have created a new column, called Avg Headcount and entered condition in the column, I am using pivot table.
    max(rsum("Workforce Profile Facts"."Associate Headcount"))/max(rsum(1))
    Actual Results
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)      Avg Headcount
    2012 / 07      18878.0      55      18907.8
    2012 / 08      18817.0      53      18878.0
    Grand Total      18817.0      108      18878.0
    Expected results
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)      Avg Headcount
    2012 / 07      18878.0      55      18878
    2012 / 08      18817.0      53      18817
    Grand Total      37695.0      108      37695/2 = 18847.5
    Eeven my Associate Headcount, pivots grand total was wrong, my instanceconfig.xml already setted to aggregate enabled.

  • 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

  • Pivot table calcualtion

    Hi Experts,
    I have a pivot table in which i need to show the % change between the last 2 months(i,e (Mar-09) - (Feb-09)/(Feb-09)). I want this change automatical when ever the new month comes like when data added for the month of Apr-09 then it should calculate ( (Apr-09) - (Mar-09) / (Mar-09)). can i do it in report?
    FY 2009
    FY Category Sub category Dec -08 Jan -09 Feb-09 Mar-09 % change Avg
    2009 Novel fiction 10 20 30 50 66% 50
    Non-fiction 5 10 15 25 66% 25
    Thanks in Advance

    Hi
    There are many ways to achieve this
    - Set the prompt default value as current_month
    - Use Monthly_Sales, 1M_Ago_sales, 2M_Ago_Sales, Variance
    You may perform these calculations in Logical layer in rpd as well as in Answers reports, depending on nature of urgency.
    in simple terms, create 2 variables for current month and previous month and use them in case statements
    sum(case when time.yyyymm = curr_month then fact.m1 else 0 end) as c2,
    sum(case when time.yyyymm = prev_month then fact.m2 else 0 end) as c3
    Hope this works

  • Oracle answers pivot table grand total problem

    hi All,
    I am working with OBI dashboard. I have a problem in creating a pivot table. To make it simple assume I have 3 columns: Sales, Target Sales, and %Diff. I added a total row but the problem is the total for %Diff is actually the average of the column instead of the %Diff between "total Sales" and Total "Target Sales". The aggregation rule for %Diff is set to Avg. and "Show data as" is set to Value.
    I have seen the same problem here before in some forums.
    Can anybody help me on this?
    Thanks
    Sana

    the problem is the data is coming from Discoverer (another team converted data from disco. to OBI anwsers) so I do not have access to Biz model.
    is there any other way for that?
    thanks

  • Average of the Grand Total in the Pivot Table

    all,
    I have calculated a Grand Total of sum 3 days trade in the pivot table using the Totals after in the Pivot table. I wanted to obtain the average of this Grand total. How can i achecive this in OBIEE 10g.? Please help urgent

    I did not understand your scenario exactly. Did you try using the 'newly calculated column' option from 'More options' of the particular column for which you want the average?.
    for example
    segment brand 1 value
    brand 2 value
    brand 3 value
    brand 4 value
    Avg brand per segment <value>
    notice that the 'Avg brand per segment' is a 'newly calculated item' where the average brand has been calculated. hope this helps.

  • OBIEE: Pivot table chart is not proper when GOURL is on Measure Column

    Hi All,
    I a facing an issue with Pivot table chart drill.
    Pivot Table columns:
    Row description column in row section.
    Column description (Periods) in column section and
    A Number format amount column in Measure Section (In BMM it is not defined as a measure column).
    GOURL written on the Measure column to enable the drill in Pivot table data.
    When I click on chart the pivoted reasults Graph: Vertical Bar, Type: Default, Style: Rectangle.
    It shows the row description in X axis but the amount is not shown properly (it just shows 1,2,3..numbers on Y axis instead of the amounts which are in lakhs) on Y axis and alos there is not vertical bars showing up.
    Any help in this regard is very helpfull.
    Regards,
    Sagar Vishwanathwar.

    hi Karthikeyan,
    use combined with similar request(union report)
    In first criteria show all the columns
    Second criteria 'Grand total' , year ,month, avg _formula that u have
    Thanks,
    Saichand.v

  • Pivot table problem. Please help me create this report

    Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
    My table structure is like this.
    Facility......Date........totaldays
    A..........01/01/08......210
    B..........01/01/08......215
    C..........01/01/08......917
    A..........02/01/08......211
    B..........02/01/08......211
    C..........02/01/08......911
    A..........03/01/08......210
    B..........03/01/08......215
    C..........03/01/08......917
    I need the report like this..
    Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
    A...............210.............211............210.....631......210.3
    B...............215.............211............215.....641.....213.6
    C...............917.............911............917.....2745....915
    For this report..I created pivot table but I'm not able to calculate the average..
    Can you please help..I'm new to OBIEE...
    Thanks in advance

    Please change your username....
    Here is what you need to do...
    1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
    2) In the pop-up window complete as follows:
    Name: type "Total Average"
    Function: Select "Average" from the drop-down window.
    Click on the values in the right pane that you wish OBI to calculate the average for.
    3) Click "OK."
    You now have another column that is the average of the values in each row.

  • 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

  • Can any one tell how to create pivot table

    Hi ,
    Am trying to create a pivot tabel in the MDM Import Manager. Iam able to see the preview of the pivot table which i want to create. But when i try to click "OK" button, an error message getting displayed like...
    "The new table cannot be created because the data source is not updatable.You may need the data source to an updatable format such as Microsoft Access before proceeding".
    Due to the above error am not able to create pivot table, plz let me know if any one know how to solve this problem
    Thanks & regards
    Praveen k

    Hi Praveen ,
       The solution to your problem is -
    The data source must be updateable in order for MDM to
    create the new pivot or reverse pivot table. However, you can still
    perform the steps leading up to table creation – including the preview –
    even on a data source that is not updateable, so that you can explore
    pivoting or reverse pivoting as a transformation option. If you then
    decide you want to actually create the new table, convert the data
    source into a format that is updateable (such as Microsoft Access) and
    perform the pivot or reverse pivot on the new data source.
    To create a pivot table, you must identify the source fields that
    participate in the pivot, which ones contain metadata and which ones
    contain data, which ones must be combined, the one-to-one
    correspondence between metadata and data fields and/or field
    combinations, and the key field or fields.
    To create a pivot table:
    1. In the drop-down list of source tables, make sure the table you want to
    pivot is the current source table.
    2. In the Source Hierarchy tree, select all the field nodes corresponding to
    both the metadata fields and the data fields by which you want to pivot.
    3. Right-click on one of the nodes and choose Create Pivot Table from the
    context menu, or choose Source > Create Pivot Table from the main
    menu
    4. MDM opens the Create Pivot Table dialog
    5. In the Key Fields dual-list drop-down control, move one or more fields
    from the Available Fields list to the Selected Fields list to identify the
    key fields on which to perform the pivot
    6. In the dual-list control of fields, drag-and-drop the data fields from the
    Field Values Become Field Names list to the Field Values Become
    Field Values list
    7. If necessary, select two or more fields in either list that must be
    combined into a field combination, and click on the Combine button, or
    right-click on one of the fields and choose Combine from the context
    menu
    8. If necessary, drag-and-drop fields or field combinations within each list
    to create the one-to-one correspondence between metadata fields and
    data fields.
    9. Click on the Preview button to display a preview of the first ten records
    of the pivot table
    10. When you have verified that the pivot operation you have defined will
    have the desired effect, click OK to close the Create Pivot Table dialog.
    11. The MDM Import Manager creates a new table named “table <Pivot>”
    in the data source (where “table” is the name of the original source
    table).
    12. In the drop-down list of source tables, select the newly created pivot
    table on which to perform subsequent import processing.
    Hope that helps ...
    Regards
    Deepak Singh

  • Can I 'explain' data in a pivot table?

    Hi All.
    I have a request that has baffled me.
    I need a way to use 'text' to describe the results of a report. If I were doing a simple report,
    this would be a non-issue. Here are my hurdles:
    I have a report that uses a Union via Set Operations (so I'm combining two result sets).
    The results are then shown in a pivot table.
    Within the pivot table, variances were created using 'New Calculated Item' under measures.
    I want to be able to display in a narrative, or some other magical technique, the results of theses calculated items.
    Data Example:
    <pre>
    Date1 Date2 Variance Variance%
    Total Sales 10 20 10 50.00
    Sales have increased 50% compared with last quarter. (<- desired result)
    Today, I can show @1, @2 etc, but it only shows the columns under 'Date 1'.
    Any help is greatly appreciated!!
    Cindy

    First, if you design a report correctly (e.g., accurate and descriptive headers, etc.), you greatly reduce the need for an "explanation of data." It should be intuitive. If it is confusing to understand, the design of the report should be looked at. (Is this report illustrating what the user needs to see? Should I use a graph instead of a table or vice-versa? Am I reporting on the right metrics?)
    That being said, it may be helpful at times to have a narrative to give an overall view of what the report displays. For this, you have the Narrative View to explain whatever might make the report more useful to the end-user. For example, you may have them note certain conditions and what that would mean, etc. (Conditional formatting would be great for this, unless you are considering cross-column conditioning in which case conditional formatting doesn't work.*)
    But if you are looking for row-by-row explanations where you use the data in the row as part of the "explanation" (as inferred by your inclusion of @1 and @2, etc. in your question), then I think you may be trying to please your end-users a bit too much. Perhaps I have misunderstood you, so I shall end here and wait for your response.
    *Until 11g, that is. There are also workarounds...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Not able to see data in Pivot table

    Hi,
    I have a issue with pivot table i have a column which displays values 0 and 1 and another column called month when i am placing this month column as a section and values column as a measure i am not seeing any values means i can see the month as header but instead showing 0 or 1 its showing blank columns. previously i created similar kind of table it worked but at that time values column data type is number this time its char. can anybody help me out how i can see the data in the pivot table. i already tried converting this column to number but still i am not able to see data in that values column.
    Thanks

    Hi copter,
    Place the month column in rows and value column in measure section and check if results are coming.If still it doesnt come i suppose you dint apply aggregation rules to value column.In pivot view click values column and aggregate by /select min or max or either server complex and check your results.
    (I suppose your aggregation rules is default)....Correct this one and you can place it in sections as per your requirement.
    Cheers,
    KK

  • How to update ADF VO object to refresh the data in ADF Pivot table

    I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
    here are the steps I performed to create ADF pivot table application using VO at design time.
    1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
    2) Dragged this collection to the page in which wanted to create the pivot table
    3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
    Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
    I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
    but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
    here is the code
    Our slider component will look like
    <af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
    autoSubmit="true" />
    The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
    public void setDataValue(boolean value) {
    DataValue = value;
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
    Object result = operationBinding.execute();
    The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
    public void filterVO(boolean value) {
    if (value != null) {
    ViewObjectImpl ibVO = getVO1();
    ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
    ibVO.executeQuery();
    }

    Did you define a filterVO action in your pagedef.xml file?
    You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5

Maybe you are looking for

  • Accessing Unix folder while selecting source file in Import Manager,GUI

    Hi, I am using MDM 5.5 sp04.I am trying to use MDIS to automat the importing process. Challenge is to use a map in port which will be used by MDIS. Our MDM server system is in Unix. How I can select input file residing in unix folders( say ready fold

  • Changing to iMac

    I'm upgrading to a new iMac and I am aware that my previous Appleworks will not work. Does anyone know if the iWork will open those old apps?

  • Question: Will non committed persistence data loss if my application which is using Kodo/JDO crashes???

    Hi, I am very new to JDO and Kodo and I am still learning. I have a user specification that requires no data loss when the application crashes. If I am developing my application using Kodo for data access layer, when my application crashes just becau

  • Initial Load Decentralized WM with HU active

    Hi, I want to know the procedure to make the initial data load in decentralized WM where both systems are SAP, and we have HU management active, and HU number assignation needs to be external. Thx

  • Tax Code Determination

    Hello On the SBO application, when I choose the "Usage" on the Invoice the TaxCode field is automatically filled using the configuration previously defined on the Tax Code Determination. I need to create an Invoice by SDK, but I don't know how to do