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
...

Similar Messages

  • Excel Pivot Table not working Office 2013 click to run

    Hi
    I have a user who is having an issue with Excel pivot tables.
    Issue occurs when opening an old excel-file (created with Office 2007) and then saving it with another name (Save As).
    When opened the next time, system gives attached error message when trying to update Pivot with "Alt + F5" command.
    --> For some reason it wants to find something from that old excel file + Pivot is not updated.
    Can anyone help?
    Thanks
    Dan Smith

    Thank you George for your reply. The user tried the Analyze-->Change Data Source and this is what was found:
    The original file name was ”Kaiken_syyskuu2014_2.xlsx”. (see the pic below)
    When I have saved it as “Kaken_marraskuu2014”, it seems that all the pivots are still linked to “Kaiken_syyskuu2014_2”??
    In earlier Office version this did not happen.
    This excel file must be updated on monthly basis. There is tens of different pivots, so It would be quite nightmare to update the names for every Data Source one by one, every month (actually it is not possible to type name for the data
    source, ranges/tables have to be selected manually).
    These pivots are not re-created every month. Only the data source gets updated by pressing (Alt + F5)
    This problems is solved if the pivot table data source gets updated also (=source is same than new file name) when you give new name for the file (=Save as).
    I don’t see the point why pivots are still linked to old file, if you have already gave new file name for the entire excel-file.
    I hope you can help.
    Thanks
    Br.
    Dan
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
    stroked="f"><v:stroke joinstyle="miter"><v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    </v:path></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:675pt;height:651.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
    src="file:///C:\Users\smithda1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>

  • Got a replacement Ipod Touch 3rd Generation and backed up to store version on computer and now it will not work. Goes into restore mode but cant restore. Any suggestions?

    Got a replacement Ipod Touch 3rd Generation and backed up to store version on computer and now it will not work. Goes into restore mode but cant restore. Any suggestions

    What happens when you try to restore? Error message?

  • Our computer crashed that we mainly used iTunes on for upgrades, new purchases, etc.  We've downloaded iTunes onto my laptop but none of my apps are in the library.  We've made this laptop an authorized computer, but it's still not working.  Why is this?

    Our computer crashed that we mainly used iTunes on for upgrades, new purchases, etc.  We've downloaded iTunes onto my laptop but none of my apps are in the library.  We've made this laptop an authorized computer, but it's still not working.  Why is this?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have the i phone four and just uploaded to my computer and now it will not work  has the apple logo with a long oval bar under it

    i have the i phone four and just uploaded to my computer and now it will not work  has the apple logo with a long oval bar under it

    It may be that it is stuck loading. You will want to probably first attempt a Hard Reset (Home Button + Power Button for 5-10s until it restarts with an Apple Logo then let it load up) and see if this will get it working.

  • Drill down is not working for Pivot tables,but working for chart

    I have two reports and trying to navigate betwen summary report to detail report. But details report is displaying all the records .The filter condition is not working and displaying all the filters .I have Case statement in my filter.But the summary report column where the filter condition is applied is aggregated in the RPD level. Does this might be the reason ?. Is it passing different type of data type to details report ?. The filter condition is not working for Pivot table .But Chart is working fine and displaying the only selected records based on the filter condition.
    Please help me with the below issue.

    Hi sil174sss,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • Chart in pivot table not shows computed data

    [related thread|http://forums.oracle.com/forums/thread.jspa?threadID=945178]
    !http://img194.imageshack.us/img194/4729/asuifuadsfuiasduifuasdf.jpg!
    in the example above,
    "market" is put on the "rows"
    "brand" is put on the "columns"
    "value" is put on the "measures", and set "Show Data As -> Percent Of -> Row" for measure "value"
    the table of the pivot table shows correct computed data
    but why does not the chart show by computed data (percentage)????
    is there any setting to show in term of percentage.
    or any alternatives to achieve the goal (show in term of percentage) ????????????
    thank you very much!!!

    When you chart pivoted results, what type of chart are you using? You may not be able to display marketwise % in a bar chart. You may want to try out the pie chart where you can display marketwise % values.

  • 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

  • Item text in table not printing correctly

    Hi All,
      I have a requirement to display Purchase Order Line Item Text in one of the column in a table. I used table to do this, but it is not working correctly, when there is more data (more than one page) in long text.
    Columns using in the table
      EBELP MATNR LONG TEXT QTY CURRENCY PRICE Delivery Date
    Then, I used Subforms to achieve this, but i have a problem using this also. If the long text overflows then other fields after the long text are printing on the last page.
        EBELP MATNR LONG TEXT               - First Page
       LONG TEXT QTY CURRENCY PRICE DELIVERY DATE - last page.
    But, i am looking for a pattern to print
              EBELP MATNR LONG TEXT QTY CURRENCY PRICE DELIVERY DATE
                                       IF IT OVERFLOWS
                                       ONLY LONG TEXT ON NEXT LINES.
    Please suggest me how to do this.
    Thanks,
    Kumar

    HI William,
    Go here for help for Font problems and management in OS X
    You may have a duplicate or corrupted font.
    Carolyn

  • PR Item Level Release WF not working after Release Strategy change

    Hi Experts,
               I did PR item Level Release Standard Work flow and it was working fine now due to client requirement we changed the release strategy and now when the PR workflow triggers it gives the Below mentioned error.
    I really don't understand y after changing the release strategy workflow is not working and giving the following error.
    Even if i restart the workflow in SWPR the same error is occuring.
    Exception occurred    - Error when starting work item 000000390118
    PROCESS_NODE     - Error when processing node '0000000003' (ParForEach index 000000)
    CREATE                   -  Error when creating a component of type 'Step'
    CREATE_VIA_WFM  -  Agent determination for step '0000000003' failed
    EVALUATE_AGENT_VIA_RULE - Error in resolution of rule 'AC00000148' for step '0000000003'
    AC00000148             -  Object type 'TS' not valid
    Executing flow work item   - Work item 000000390118: Object FLOWITEM method EXECUTE cannot        be executed
    Executing flow work item   - Error when processing node '0000000003' (ParForEach index 000000)
    Regards,
    Hari

    Hello Hari,
    please set a breakpoint at function module
    ME_REL_GET_RESPONSIBLE
    and see what happends in section
        CASE t16fc-frgwf.
    * keine Ermittlung
          WHEN space.
            RAISE nobody_found.
    * Ermittlung über T16fW
          WHEN '1'.
    If using the T16FW-table, it should go to '1', otherwise it may that a user exit under '9' is used. So please check this.
    Best wishes,
    Florin

  • Pivot table not rendered correctly in Internet Explorer

    Hi
    We have used Pivot table in the fusion development. The pivot table renderes properly in FireFox, but rendering in IE it gets distored. Is there any know issue with IE, Please me know ?
    TIA
    Anand

    Are you sure the problem is the size of the icons? Beginning with version 6.0.2900.2190, Microsoft Internet Explorer stopped displaying the Web Server /mc-icons GIFs. This regression was apparently a side effect of Microsoft's attempts to fix IE's handling of malicious image files.
    Apart from not using the buggy versions of IE, I'm not aware of a simple fix. I suspect a future Web Server 6.1 service pack will include a work around for the IE bug, but probably not until 6.1SP7.
    I've added tweaked icons to my blog at http://blogs.sun.com/elving?entry=directory_listing_icons_and_ie that IE will display properly. You may wish to copy these into your ns-icons directory.

  • 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

  • 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

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

Maybe you are looking for

  • Pixelated images and overprint preview

    I have a few images already inserted in a document which are all in CMYK at 300 dpi. When I zoomed in on them, they appeared just like they did in photoshop, nice and clear. Last night, I started having trouble with the images appearing pixelated whe

  • Strings generator from a set of chars

    Hi everybody, I need a strings generator that given a set of chars (i.e. S = {a, b, c}) and a variable k = n , gives in output all possible strings whose lenght is 1, 2, 3, until n. i. e. S = {a, b , c} ; k = 10 s1 = a s2 = b s3 = c s4= aa s5= ab s6

  • Cursor Expression Select Statement

    SELECT DNAME, CURSOR(SELECT SAL,COMM FROM EMP E WHERE E.DEPTNO = D.DEPTNO) FROM DEPT D DNAME CURSOR(SELECTSAL,COM ACCOUNTING CURSOR STATEMENT : 2 CURSOR STATEMENT : 2 SAL COMM 2450 5000 1300 RESEARCH CURSOR STATEMENT : 2 CURSOR STATEMENT : 2 SAL COMM

  • Listener:handler(s) for service

    Hello gurus, When I do lsnrctl status it shows me, Service "mtg01" has 1 instance(s). Instance "mtg01", status READY, has 2 handler(s) for this service... what is handler here and how no of handlers are being decided? Thanks. P

  • Airplay connection issue.

    Hi all, Up until recently I had been using an Airport Express (purely for Airplay). I had a break from it when my Express failed (after a few long uears service) I have since replaced it with a speaker with Airplay built in. My question is has the wa