Wrong value with calculated item in pivot table

I have a report with 4 columns:
First Column are Department Dimension
Second Column is Actual value
Third Column is Previous value
Four Column is: ((Actual Value-Previous Value)/Previous Value))*100 that called Var
Then I do a pivot table and I have new calculated item: Department1/Department2 and I have wrong value in four column:
Department----------------------------------Actual-------Previous------Var
Dept1------------------------------------------18503--------16308--------13,5
Dept2-------------------------------------------3758---------3518----------6,8
(Calculated Item: Dept1/Dept2)--------4,92---------4,64------------*2* <---- This value is wrong...and it has to be: 6,03
Is possible to get the correct value???
Thank you very much!

hi,
Create a logical column with ur calculation formula and make it as default agg rule in rpd and answers change it to server determined/server complex agg.I did the same it was working fine for me!!
Check this link
http://books.google.com/books?id=OnbYrkWa4RsC&pg=PA74&lpg=PA74&dq=%22server+complex+aggregate%22&source=web&ots=qxrpaFXmo2&sig=CxLOemzcOlvIiaQ_sQD4fPQotdM&hl=en&sa=X&oi=book_result&resnum=5&ct=result#v=onepage&q=%22server%20complex%20aggregate%22&f=false
thanks,
saichand

Similar Messages

  • Calculated item in pivot table - OBIEE 11g

    Hi,
    I need to display only the calculated items in my pivot table and I want to hide the other members. I am using OBIEE 11.1.1.5.0.
    Is it possible to have different selection steps for different views.
    Please help.
    Thanks,
    Prabhu S.

    Hi Dhar,
    Thanks for your answer. I want to use section wise display in pivot table and need to show only the calculated members in the sections.
    I need to hide other values of the particular section column.
    Thanks,
    Prabhu S.

  • Move position of calculated item in pivot table

    Hi experts,
    I have done the pivot table in the table above:
    http://www.2shared.com/photo/MB3J5caU/image1.html
    The item sum 2005-2006 is the sum of the value of commission amount for the years 2005 and 2006. I need to move this item after the value 2006, but i have not idea about how can i do this. By default it is dispayed at the end of the values.
    Any ideas?
    Thank you!!!!!!!

    Hi User,
    1. Did you created any dummy column for the calculation purpose ?
    Method1: Create a dummy column in criteria - in the Edit Forumale (write Sum(commission 2005 + commission 2006) ).
    Already you have column's Comissions 2005 , comissions 2006 in criteria.
    Now simply, move the Newly Created Dummy column in the criteria after/before as per ur requ. value 2006. ( By Dragging it )
    2. If you have created the column sum2005-2006 in the pivot table.
    Method2: I think you have value 2005 and value 2006 , sum 2005-2006 columns in pivot table.
    In the pivot table, you can view 'measures' area where you will find value 2005, value 2006, sum 2005-2006 columnn's.
    Simply, move the sum 2005-2006 columns in b/w value 2005 and value 2006 columns ( by dragging and dropping it )
    Thank you.
    Edited by: 831909 on Feb 28, 2012 6:10 AM

  • Calculated Item in Pivot failed to be entered

    Hello There, I'm sorry that I ask again, but I haven't found an answer to the following issue:
    Calculated Item in Pivot is not apearing in Chart
    While trying to add a calculated item to a Pivot table to display the growth, we receive the error: the semantics of the formula entered are not valid
    The formula we've tried to enter was : 100*($1-$2) / $2
    entering $1/$2 works fine....
    I'm sure it's possible, what am I doing wrong.
    Thanks in advance for any reply,
    Roni.

    No good question.
    Personally, I don't have found the reason so I use the table view.
    If you calculate the growth, I assume it's by time.
    You can them :
    * implement the time series function of OBI :
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_period_to_period_ago_todate
    * or do pivot in the table view
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_transformation_table_to_pivot
    Then you can create a formula column :
    (column1-column2) / column2Success
    Nico

  • Row -level based calculations in OBIEE11g - pivot table

    Hi Experts,
    I have the report with the format.. Where Transaction Amount is my measure and Events is one of the dimension(Event type) and Time is another dimesion (Year & Month columns)..
    Transaction Amount                                                       
                                  JAN               FEB               MAR               APR
    Event Type          Year                                                                 
    GMS(USD)               2010          16,304,853.61     14,430,768.37     15,208,584.75     12,958,012.50
                        2011          20,348,028.07     18,296,414.03     19,043,200.29     17,226,224.87
    Inbound Rejects(USD)     2010          13,757.00          84.93          123.52          11.98          
                        2011          101,670.48          6,658.78          2,240.56          3,135.09
    Now I want to create a calculated rows % inbound rejects , the formula is Inbound Rejects(USD)(2011) /GMS(USD)(2011) and also simillar for 2010 year. How I can do this is OBIEE11g.
    Thanks in Advance
    S
    Edited by: sivausin on Aug 26, 2011 7:22 AM

    Here there 5 tables.
    CBI_BI_HDR- Primary header table(Level zero record) With BUSINESS_UNIT and INVOICE as key.
    CBI_BI_HDR_STG- Level one (BUSINESS_UNIT,INVOICE and LINE_SEQ_NUMBER as key).
    CBI_BI_LINE- Level One record (BUSINESS_UNIT,INVOICE and LINE_SEQ_NUMBER as key).
    CBI_BI_AEDS_STG-Level two record( no need any information in this for report)
    CBI_BI_SKU-Level two record(BUSINESS_UNIT,INVOICE,LINE_SEQ_NUMBER,WIDTH_SEQ_NUMBER, and SIZE_SEQ_NUMBER as key)
    CBI_BI_SKU is the one i am try to get as Pivot in level 2.
    for each WIDTH_SEQ_NUMBER and SIZE_SEQ_NUMBER there is DIM_CODE and SIZE_DESC in respectively in the table.Also qty for each size and dim code here.
    so i want the result to be like this.But it is working problem here is it is return the same value for all billing line.I want only the key value relation ship in this pivot table.
    BIlling LINE_SEQ_NUMBER=1
    SIZE_DESC1(11) SIZE_DESC2(9) total
    DIM_CODE1(M) 11 22 33
    DIM_CODE2(W) 4 13 17
    BIlling LINE_SEQ_NUMBER=2
    SIZE_DESC1(11) SIZE_DESC2(9) total
    DIM_CODE1(M) 11 22 33
    DIM_CODE2(W) 4 13 17
    Please send ur mail ID i will send the document. Here it is not allowing me to add XML. [email protected]
    Regards,
    Sabarinathan

  • Problem with background formatting in pivot table

    Hello,
    I have a problem with background formatting in pivot table. I can't change background (light blue rectangular in upper left corner). Do you have any idea how to do it?
    Here is the link to the picture of the pivot table:
    http://img163.imageshack.us/img163/110/unledfyq.png
    I would be grateful for any help.
    Regards,

    Hey,
    Check this link once, you will need java script to acheive this:
    http://everythingoracle.com/obieehdom.htm
    scroll down to this topic: Parsing using HTML DOM
    Please award points if helpful.
    Thanks,
    -Amith.

  • Performing a specific calculation in a pivot table with BI Publisher 10g

    I am using BI Publisher 10g and new on it and I need to integrate a specific calculation measure in a pivot table
    The logic uses two measures that already exist in the report (Demand & PAB) and the required calculation is represented by a new measure/row (Calculated). The pivot time is in weeks
    Week w0     w1     w2     w3     w4     w5 .....
    Demand     d(w0)     d(w1)     d(w2)     d(w3)     d(w4)     d(w5) .....
    PAB     p(w0)     p(w1)     p(w2)     p(w3)     p(w4)     p(w5) .....
    Calculated     c(w0)     c(w1)     ....     ....     ....     c(w5) .....
    If p(w0) < d(w1) --> then c(w0) = p(w0) / d(w1)
    If not
    If p(w0) < d(w1) + d(w2) --> then c(w0) = p(w0) / ( d(w1) + d(w2) ) * 2
    If not
    If p(w0) < d(w1) + d(w2) + d(w3) --> then c(w0) = p(w0) / ( (dw1) + d(w2) + d(w3 ) ) * 3
    If not
    etc .... Same logics apply for c(w1) and so on
    Is such calculation logic achievable in Bi Publisher ? If yes, how would you do it ?
    Thanks for your time and support on this
    Regards, Samir
    Edited by: skaroui on 02-Mar-2012 05:50
    Edited by: skaroui on 02-Mar-2012 06:02
    Edited by: skaroui on 02-Mar-2012 06:12

    Can you use the logic that you specified in the data model (query) to generate the required data and then use it in the pivot table? That would be the easiest way to do it. Tweaking the code to include the conditional logic/calculated measures is not going to be straightforward..
    Thanks,
    Bipuser

  • How use "All Values" in the pages of pivot tables

    Hi everyone,
    I’m using Oracle Bi Answers and I have the following problem:
    I’m doing reports based in a datamart with 2 fact table each with about 28 Million records per month and with a medium of 14 dimensions.
    The users want to have the choice to select 5 parameters for example (region, district, type of product, month of analysis, subtype of product) where they can select an individual option as well as select an “all values” option. They want this for all the parameters.
    We are having problems doing this without having the report to timeout.
    Approaches used
    We are trying to do this by using pivot tables and combo boxes in the reports (one for each parameter). The combos are in the pages area.
    We are trying to do a calculated item with Sum(*) to have a “ALL Values” in the combo box but this makes the report extremely slow.
    We also tried to do Sum in the pages section of the pivot table but it only displays the “All pages value” of the first combo box.
    So actually I don’t know what to try. Can you help me with the best way to do this?
    Thanks
    Edited by: user8727081 on Sep 28, 2009 2:45 AM

    Hi,
    I had the same problem, and I solved it using the dashboard prompts.
    But sometimes users are not happy. I explaine why.
    Suppose a dimension Nation:
    Italy, Germany, UK, France, USA
    1) I create a report with sales quantity.
    2) Report has a filter --> "nation" = is prompted
    3) I create a dashboard prompt "Nations" based on dimension Nation with All Values
    4) I publish the report in a dashboard with the dashboard prompt "Nations"
    When user choose the nation from the prompt, all nations are displayed, also if I have NO sales for some of these.
    My goal: only nations with sales must be shown
    Thanks
    Enrico

  • Computed Items in Pivot table not working...

    One urgent help please….
    We have a pivot table where we have a measure label: Period name, & the measure is COST..
    The P-table shows Cost for selected (Prior & Current period) (we have 2 presentation variables for the same curr & prior).
    We need to have a computed ITEM in the Pivot which will be DELTA, Cost for Current Period – Cost for Prior Periods & should be shown on the same row.
    I tried adding a Computed ITEM in the measure label but I am unable to give the formula.
    ‘@{curr}’ - ‘@{prior}’
    but this doesn’t work as its not shown on the display…
    Please try giving me some hint….
    Thanks,
    Pankaj

    Hi,
    Remember that NULL + x is NULL.
    Use NVL (or COALESCE) to treat missing values as 0 when adding them. Do something like this in the main query:
    select  a.*
    ,      NVL (still_contacting, 0)
          + NVL (dud,            0)
          + NVL (no_curr_opp,      0)
          + NVL (cb_later_dt,      0)
          + NVL (meeting_booked,   0)
          + NVL (opp_in_eom,       0)
          + NVL (other,            0)
          + NVL (tbd,            0)     AS total
    ...

  • Summarize total for Row items in pivot table

    Hi,
    I have a certain number of row items and few fact columns. 2 of the row items are level based measures that will summarize on other conditions so I cannot have them in the Fact section. But for these 2 row items (in the Rows section) I want them to summarize the values (a total sum under) as for the Fact columns, but it seems impossible to do this in a pivot table.
    I tried everything. This is a very irritating limitation to Pivot tables. Anyone have a good solution to this? (I have to use Pivot table because I have numbers showing for each month, table view will not work for this)

    Hi Alf,
    Just for everyone else checking this post out, here is the image you posted.
    !http://i45.tinypic.com/15x50r6.jpg!
    Now I see what you are talking about. Based on that screen-shot and your post, it looks like three of your measures (Arsbudsjett, Lok. budsjett, Akk.regnskap) are placed in the "Rows" section of the pivot table because you don't want them pivoted on the month. You just want them displayed as a single column and you want to pivot the other measure by month.
    However, it appears that OBIEE does not summarize items in the "Rows" section and only provides sub-totals for columns in the "Measures" section.
    I have two follow up questions
    1) What technique are you using to breakup the column "KOSTRA art"? There seems to be some kind of grouping at the value "Lenn og sosiale utgifter". What is special about that value on how is that grouping or break in the data created?
    2) One of those three measures, Akk.regnskap, does have a sub-total but the other two, Arsbudsjett, Lok. budsjett, do not. What is different about Akk.regnskap that causes it to have a sub-totals?
    Thanks for the follow up questions.
    -Joe

  • Some calculation issues in Pivot table

    Hi all,
    I am using OBIEE 10.1.3.4.1
    We have one requirment like this:
         Product:1,2                         
         Month     Product     Region     District     Sales     Percent
         201010     1     China     Shanghai     200000     25.00%
              1     China     Beijing     200000     25.00%
              1     India     Bangalore     200000     25.00%
              1     US     Chicago     200000     25.00%
         201010 Total               800000     *33.33%*
         201011     1     China     Shanghai     400000     25.00%
              1     China     Beijing     400000     25.00%
              1     India     Bangalore     400000     25.00%
              1     US     Chicago     400000     25.00%
         201011 Total               1600000     *66.67%*
         201010     2     China     Shanghai     500000     31.25%
              2     China     Beijing     500000     31.25%
              2     India     Bangalore     500000     31.25%
              2     US     Chicago     500000     31.25%
         201010 Total               2000000     *100.00%*     
    We want to use the pivot table to achieve this, but all total would be show 100%, so how to achieve the bold part?
    like: product 1:201010 total + 201011 total =100%
    product 2: 201010 total =100%
    Did someone meet this before and how to achieve it? if yes, Please kindly give me some clues about this.
    Regards,
    Anne

    The problem is with the  Percentage cell for Total. (18/60)*100 = 30% and it should not be 100. In pivot table properties i had used summation after that is why it is summing. If i create a new table , I can get the correct Total row values but those will be in separate view as shown below. Is there way to club those to analysis into one ? Thanks, Sushil
    Cat    Value       Total Value     Percentage
    A              8          10            0.8
    B            10           50          0.2      
    Value  Total Value    Percentage       
    18        60      0.3

  • Wrong values from calculated field (Java API)

    Hi All,
    Help me please solve the problem.
    We have a table with calculated text field in MDM repositor. For some records the value of this field in MDM Data Manager differs from the value returned when we read record by MDM Java API.
    Parameters of system:
    MDM ver.: 7.1 SP10
    DBMS: Oracle
    OS: Linux
    The issue solved. I've found error in program code :-)
    I apologize for the worry.

    Assuming you want every field, the equivalent of "SELECT *" in SQL, you can use the RepositorySchema object to get a TableSchema, and with that get all FieldIds for the table.
    If your RepositorySchema variable is rs it would be something along the lines of:
    TableSchema mainTableSchema = rs.getTableSchema(mainTableId);
    ResultDefinition rd = new ResultDefinition(mainTableId);
    rd.setSelectFields(mainTableSchema.getFieldIds());
    Hope this helps,
    Greg

  • Regarding calculated item in pivot view in obiee11g

    Hi All,
    i am using two pivot view in my report.
    i am using calculated item for first pivot view. but it is also applying in second pivot view.
    i want it to apply only at view level but it is applying at report level.
    please help me to find the solution.
    Edited by: 914101 on May 8, 2012 11:05 PM

    Hi,
    Create two pivot reports and then apply calculated item for one pivot and leave for other pivot.Hope this helpful,still if you are not getting please elaborate your quite descriptive.

  • 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

  • Packaged Application - Save Large Value with multiple items

    I made an little application with 3 fields fckeditor. I tried to do the workaround "Save Large Value" with these 3 fields in the same page.
    Do you know how I can do that without the new apex.ajax.clob ? I'm on APEX 3.0.
    My application :
    workspace : listecd
    username : guest
    password : gu4est
    http://apex.oracle.com/pls/otn/f?p=47587:1
    Thanks.
    Sylvain
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

    Hi Carl,
    In my application, I have two field FCKeditor. If I check the response of my http request in Firebug I see :
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    <table summary=""><tr><td></td> <td>Error</td>
    <td>ERR-7621 Could not determine workspace for application (:) on application accept.
    </td></tr> <tr><td>OK</td> <td>
    </td></tr></table>
    Firebug show me this error but when I execute my page I have the right value. Why ?
    I have 3 problems with the integration of the FCKeditor :
    1 - Sometime when I load the data in the 2 fields, it doesn't save the value if it's more than 32k.
    2 - Sometime when I save the data I received this message :
    Bad Request
    Your browser sent a request that this server could not understand.
    mod_plsql:/pls/otn/wwv_flow.accept HTTP-400 Value param too long. Lenght is 73045. Upper limit is 32512.
    3 - When I catch the result of my AJAX with this string :
    $x('P2_COL1').value = p.responseText; This doesn't work well.
    I would like to use these strings :
    var oEditor = FCKeditorAPI.GetInstance('P2_COL1') ;
    oEditor.SetHTML(p.responseText);
    But I can't use them in my clob_GetReturn function because the FCKeditor is not implemented at this time. Where I can make this change ?
    Thanks.
    Sylvain
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

Maybe you are looking for

  • Package does not exist problem

    Hello everyone: I am a very new programmer student, and I'm having a problem I cannot seem to resolve. I am setting up a method for a JButton, and with the first inputs I'm getting a package does not exist error. Here is the code in question: private

  • Qtpro playing dvd's

    so this may be a dumb question...but i just bought qtpro today, i stuck in a dvd to see how it plays and i couldnt get qt to run it..i checked the helps it said to drag the file, i dragged the dvd icon, then dragged the video_ts file into it..can any

  • Feature Request: Can I save all of my open tabs to some kind of template file so I can re-open all of my tabs at once at a later time from somewhere else?

    I'm currently reading 10~15 tabs of pages, and I'd like to take them with me on the road, so I can finish reading all the contents at a later date/place/machine. Is there someway to just save my tabs to like a file, then email it to myself and goto a

  • Forwarding the workitem for multiple users

    Hi All , I need to forward a workitem which is ready in ready status to multiple users , but I am not sure how is that possible. 1.I tried doing it with SWW_WI_FORWARD but it throws error that WI in ready status cannot be forwarded. how to achieve th

  • Global Administrator Account

    I'm very new to OS X server. Until now I have only used it as a file server and have only played around with boot images. My question I have a number of macs that connect to NT and Novel servers. Our IT department handles the administration of these