Issue in adding up columns.

Hi:
Does anybody know how to do this in Query Designer:
I have a Calculated KFig. in a Column and is not bringing me the addition of the partial values in the result row. Is calculating again the formula, and thus delivering a wrong result.
How can I setup that the result row, only perform the simple addition of the values in it?
Regards,

Check before aggregation and after aggregation settings. Check whether exception aggregation on some charecteristics is give. and also check the settings for calculate results as and calculate single value as settings...changes in any of these can bring you the correct result

Similar Messages

  • Adding new column to production database

    I have to add a new timestamp column, that defaults to the current date/time, to an existing production database. The table is large - 150M records. I am trying to understand the ramifications of adding a new column to a table this large that gets hit often, mostly with inserts and reads. The column does allow null values and I am not going back and populating existing records with a value. Basically, I am looking for some best practice guidelines - how to prepare, what to expect, what other processes should be followed along with this schema update.

    Radiators wrote:
    Thanks, I have not found any %TYPE or %ROWTYPE dependencies on the table I am altering. But at the same time I do not understand how these types of dependencies would invalidate packages. I wouldn't be breaking any %TYPE dependency because I am not dropping columns, only adding a new one. And according to documentation for %ROWTYPE - "If columns are later added to or dropped from the table, your code can keep working without changes." Can you point me to Oracle documentation that describes your concern in detail? Thanks.you can test it yourself
    SQL> CREATE TABLE abc (c1 NUMBER);
    Table created.
    SQL> INSERT INTO abc
      2       VALUES (99);
    1 row created.
    SQL> CREATE OR REPLACE PROCEDURE test_proc
      2  AS
      3     v   abc%ROWTYPE;
      4  BEGIN
      5     SELECT c1
      6       INTO v
      7       FROM abc
      8       WHERE ROWNUM = 1;
      9  END;
    10  /
    Procedure created.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                STATUS
    TEST_PROC                    VALID
    SQL> ALTER TABLE abc ADD (c2 VARCHAR2(10));
    Table altered.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                 STATUS
    TEST_PROC                     INVALID
    SQL> you should also consider the chance that some where if people are using "select * into" using this table, which will fail since you added new column. i don't see any unusual performance bottlenecks by adding a new column. in case of the backups, yes the earlier backups will not have the column. if you restore it, you will see earlier table structure itself. i have one specific question. why are you not attempting this in development/test environment first? even if it is a simple insert, it's always important to do it in test environments before attempting on production db. one thing for sure i know is, after adding column, you will have to recompile all the invalid dependencies. i think, it's better if you attempt it in test db and come up with any issues you see rather than asking a general question where problematic scenarios are plenty and rarely unknown before hand.

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

  • How to add get the field name for a newly added site column.

    I have the following:-
    Enterprise wiki site collection inside SharePoint server 2013.
    I added a new site column of type managed metadata.
    I opened the enterprisewiki.aspx page layout using the SP designer, to add the newly added site column to it.
    But I have noted that to add any site column I need to know the field name , for example the default wiki category column is referenced inside the page layout as follow:-
    <Taxonomy:TaxonomyFieldControl FieldName="Wiki_x0020_Page_x0020_Categories" EmptyValueDescriptionForTargetTemplate="<%$Resources:cms,enterwiki_nocategories_assigned%>" DisableInputFieldLabel="true" runat="server"/>
    <b>
    So my question is how I can know the field name for my newly added site column?
    Thanks in advance for any help.
    Regards

    Hi,
    The “FieldName” should be the internal name of the column, you will find it at the address bar at the “Site Columns”->”Edit Column” page:
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Issue / problem adding audio in Presenter 7 (PowerPoint 2010)

    Since I got a new PC (Windows 7), I'm having an issue / problem adding audio in Presenter 7 (PowerPoint 2010).
    It doesn’t happen every time, but randomly with many presentations...
    In PowerPoint, right after I import audio (through Presenter) and click “ok”, I get the following errors:
    Then, I can't get into the "import/sync/edit" mode, from the Presenter tab...
    Already tried reinstalling Presenter, resaving new presentations, deleting the .ppcx/audio folders, importing the audio locally (vs from my network drive), etc.
    Then sometimes, randomly, it will let me get back in and edit the audio, after numerous attempts…?!? I can't figure out what the pattern is, which is causing this new problem (never had this problem before, w/ my old PC - Win XP / PowerPoint 2003 / Presenter 6 & 7)
    Anybody have an idea what the issue could be?
    Thanks,
    Mike P.

    Hello,
    I  tried to reproduce this issue but I am not getting any error message. Please provide us following information; this might help to reproduce this issue:-
    1) You are seeing this issue in  PPT or PPTX
    2) You seeing this issue in newly created presentations or its just old presentation which is not working properly.
    3) OS and PowerPoint version
    4) If this issue is consistent on any particular presentation then please share it.
    5) Can we have exact reproducible steps
    Regards,
    Shubhi

  • Adding Additional Columns in LOV,That column capturing values from function

    My requirement:
    Adding Additional Columns in LOV,That column values capturing values returned by function.....
    Give me the ides to achieve this...

    Hi Subramaniam,
    If your requirement is to call a Database function then please make use of the below code ,
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    CallableStatement cs = txn.createCallableStatement ("begin :1 := xxpackageName.xxfunctionname(:2,:3); end;",-1);//Replace your function Name
    try
    cs.registerOutParameter(1, Types.VARCHAR);
    cs.setString(2,InputParam1); // InputParam1 is the name of variable captured from the OAF page and passed into function as input parameter
    cs.setString(3,InputParam2); //InputParam2 is the name of variable captured from the OAF page and passed into function as input parameter
    String outParamValue = null; // outParamValue will capture the value returned by function .
    cs.execute();
    outParamValue = cs.getString(1);
    catch(SQLException sqle)
    throw new RuntimeException(sqle);
    finally
    cs.close();
    Let me know if its not clear .
    Keerthi
    Edited by: keerthioaf on Nov 23, 2012 5:17 AM

  • Issue in loading specific columns from a file to teradata table using IKM

    Hi,
    Can any one help to resolve the issue in loading specific columns from text file to teradata table.
    i tried using IKM file teradata and columns are getting displaced.
    my requirement suppose i have 5 columns in file and i have to load only 3columns to table using IKM.
    same thing can be achived using LKM file to teradata but i want use IKM.
    please suggest me on this
    Regards
    Vinod

    Hi,
    I believe that the problem you are having is that you have a delimited file, of which you want to pick columns from position 2,3,5. In this case, ODI will pick the first 3 columns of a delimited file regardless of position.
    For example, if you a tab delimited file with c1,c2,c3,c4,c5 columns, and you want only columns c2,c3,c5 - when mapping these in an ODI interface, and executing, you will actually pick up the data from c1,c2,c3 as these are the first three columns in the file (reading from left to right). You can ignore "columns" on the right hand side of a file, but not the left. E.g delimited file with c1,c2,c3,c4,c5. Only pick columns c1,c2 will give you data for the first 2 columns
    Create a temporary table to load all the data from the file, and use you temp table to extract the data you require. Or you could get the file created with the first three columns as the columns you require.
    Cheers
    Bos
    Edited by: Bos on Jan 18, 2011 1:06 PM

  • Adding the columns dynamically in crystal report

    Hi,
      I am developing a application using asp.net and crystal report. In a report the column is created dynamically( ie, the report gets input from a sp which returns N no. of columns). Since i dont know the column name and no. of columns at design time i am not able to create the report. If any of you have any idea on adding the columns dynamically please send me the code or the link.
    Thanks
    Sankar

    Hello Sankar,
    please see CS code for VS 2005 below to add a database field to a report using inproc RAS.
    This sampels retrieves the table column name from the database and adds it to the report.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    namespace CS_Add_Field_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            CrystalDecisions.ReportAppServer.ReportDefModel.Section boSection;
            CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject boFieldObject;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    AddField.rpt");
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                //Get the first section in the details section
                   boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
                   //Create the field object that we will add to the report and set all of its properties
                   boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
                //Set which field to use for the data to be displayed
                   boFieldObject.DataSourceName = "{Customer.City}";
                   boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
                   boFieldObject.Left = 4 * 1440; //1440 twips per inch
                   boFieldObject.Width = 3 * 1440;
                   boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
                   boFieldObject.FontColor.Font.Name = "Arial";
                   boFieldObject.FontColor.Font.Size = 10;
                   boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
                   //Add the object to the report
                   boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //Get the first section in the details section
                boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
                //Create the field object that we will add to the report and set all of its properties
                boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
                //Set which field to use for the data to be displayed
                boFieldObject.DataSourceName = "{Customer.City}";
                boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
                boFieldObject.Left = 4 * 1440; //1440 twips per inch
                boFieldObject.Width = 3 * 1440;
                boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
                boFieldObject.FontColor.Font.Name = "Arial";
                boFieldObject.FontColor.Font.Size = 10;
                boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
                //Add the object to the report
                boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;

  • Flash - Issue when adding scenes/keyframes

    Hi, very new to flash,
    Basically I have an existing site which is built in Flash CS6, each page is built on a single layer with one frame and is embeded into an HTML document.
    What I am trying to do is add a preloader to this sites pages, I have no issues in adding the preloader and code to make it work.
    What I am having issues with is when I add either a new scene or keyframe to put the preloader on, the images I have on the main scene/keyframe become very distorted after publishing.
    I have played with the publishing output settings i.e JPG vs PNG,  and done a thorough search online but cant find anything.
    Any help would be much appreciated..
    Thanks

    Any help would be appreciated ..

  • Errors processing after adding Computed Column to Time.

    Errors in the high-level relational engine. The 'Time' table is based on a named query, and contains one or more computed columns. A table based on a named query cannot contain computed columns. If the computed columns are necessary, add them to the query
    expression.
    Help me, pls! Thanks!

    Hi CUONGNV0207,
    According to your description, you get this error when processing cube. Right?
    As the error message mentioned, a table based on a named query cannot contain computed columns. If you create a computed column in this table, it will throw this error. In this scenario, please go to the DSV and check if that table is set up with named query.
    You can replace it with a DimTable in your database.
    Reference:
    cryptic error when processing cube
    Errors processing after adding Computed
    Column to Time
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Adding Additional Columns to the Results

    Hi,
    I wanted to additional column in iRecruitment Vacancy Results Table.I have added the column using personlaization but it's not displaying.
    Here are the Steps that I have done.
    iRrecruitment Administrator --> Vacancies --> Search for the Approved Vacancies.
    Click on the Abpout Page and found the VO Object: IrcVacancyVO
    Found the Attribute that I need to add : VACAttribute8
    I have created a New Item with Style : Message Styled Text
    and provided the View Attribute (VACAttribute8) and View Instance(IrcVacancyVO) accordingly.
    The Item that I am adding is attribute8 of the Additional Vacancy Details DFF.I have enabled this attrbiute in the Flexifield.
    The attribute is part of the IrcVacancyVO Query.
    I am not sure what's I am missing but its not displaying the column that I have added.
    Any Input is highly appreciated.
    Regards,
    A
    Edited by: 791680 on Jun 17, 2011 11:22 AM

    Hi Wasey,
    Try as Diwakar told. I am not able to see that tripline in display mode. A long back i copied the same program and i added extra fields in it.I copy program SAPLMCB3 inside which routine AUSGABE_LISTE_KZ.
    Regards,
    Madhu.

  • Received and Issued quantity in same column in PLD.

    Hello All,
    I've created PLD for Inventory Valuation method, the problem is both the received quantity and issued quantity are display in the same column.
    But I want it in different columns, that is received quantity in one column and issued quantity in another column. Please suggest how to rectify it in the PLd.
    Thanks,
    Pratheeviraj

    Hi Pratheeviraj,
    In the PLD, create 2 formula field in the repetitive area -
    1. Field_141 > 0
    2. Field_141 < 0
    where Field_141 refers to the Quantity field.
    3. Link the Quantity field to formula field 1 above. This way, the quantity field will show only the >0 quantity
    4. Duplicate the quantity field. Set it as a separate column and link it to the <0 formula field.
    Now this column will show qty > 0
    Rename the column headings acc.
    Hope this helps.
    Regards,
    Hamsa

  • Adding nuew column to Oracle Projects Workplan Gantt

    Hi all,
    I need help in adding a column to the gantt table in the workplan tab on Oracle Projects module. I need to add a description column near task-number column.
    I've followed the standard personalization procedure: Personalize page, select the table region, add item (MessageStyledText), rendered=true.
    No matter the view instance/view attribute i assign to it, but I can't see the column on the table.
    If I return in the page-personalization I see that the column has been added, but I continue not seeing it on the gantt table......
    Do you know, what can I do?
    Thanks,
    Dario

    Hi,
    "The resource list member is not a member of this resource list XX Planning Resource List", r u trying to export from MSP to Projects? If so, the resource should be the member of the project (Team Member, PM, Accountent...........)
    Please check your Planning Resource List > People.
    Regards
    Raghavender K

  • Retain field order on form when adding/deleting columns

    If I move my html around to change the layout of the fields on an AddForm.aspx and then I start adding and deleting columns, the ordering of the ff## changes and I can have problems. 
    Its fine if I've only added new columns...what I've done is create an AddForm1.aspx to get the fresh ff##'s at the end of the list.  I copy them over to my AddForm.aspx
    If I add and delete columns, then I can have problems.
    The ff## may be renumbered when making an AddForm1.aspx and copying the new fields might create an error because of dupe ff##'s.
    If I use AddForm1.aspx,  I lose my layout of the fields on my form AddForm.aspx.
    I have been successful finding the ordering of the columns on AddForm1 and renumbering on AddForm.
    But this is pain and error-prone.
    What do people do to get around this dilema?
    thx
    Rich

    Hi,
    By default, we can change the order at the Lists content type settings page.
    I suggest you provide more information about your requirement(screenshot) to make others easier to find a solution for you.
    More information:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/31a5030b-9494-4057-b4ad-485435fdceb0/sharepoint-designer-2010-reorder-fields-for-newform-edifform-viewform?forum=sharepointgeneralprevious
    http://kalsing.blogspot.com/2006/11/create-custom-list-form-for-sharepoint.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Skype can't access my sound card

    Skype can't access my sound card. It fails every time and says "problem with recording device." I've tried running it as an administrator, uninstalling and reinstalling, I'm pretty sure I've turned off any realtek sound effects or enhancements. I've

  • Any other option besides restore? ipod software not recognized.....

    I have an 80gb 5th gen. Using it with my Windows XP it was fine. I recently got a Windows Vista HP laptop and it worked fine until today, when I plugged it in and transfered music, iTunes froze midway. So I unplugged the iPod and iTunes closed. I plu

  • Special Procurement type for multiple plants ????

    Hi Experts, We currently have a u201CSpecial Procurement Typeu201D of u201C40u201D set up for the sourcing of products between A and B. I need a Special Procurement type to work between all three plants, A,B and C Please advise how this can be achive

  • Oracle 9.20 DataBase Creation error

    Hello, I am a GIS developer and i should use Oracle 9i beacuse of my other software like ArcSDE and ArcGIS server version. I have a problem when i want to create a database using "DataBase Configration Assistante". On 81% and on "Creating and Startin

  • Creating events in mx:component

    Hi there, I am wondering what the dela is with <mx:component>.... Can it see outside the scope of itself? I am trying to access a method in the main file <mx:Script> block, and am getting a "can't find that function..." error. Any thoughts are greatl