New calculated column MDB table indeed

Hello

I have a requirement to calculate the total cost. I have the quantity as a field and the actual cost as another field. Quantity * cost = total cost. How can I do this in the MDB.

Thanks for your time and your help.

Hi user,
Done create a logical column in this table.
layer of MDB-> made-> right click - Create a logical column (or table) duplicate a measure column in the table and rename it as Total cost.

"Then name it as Total cost and mark physical sources using existing and click on the '... »
Here, we see the logical tables and columns.give the formula using arrays of logiccal in functions that
Quantity * cost

Tags: Business Intelligence

Similar Questions

  • new logical column MDB

    Hello
    I created a new logical column in MDB (column name: Total amount FY13), check the fact table and I marked "use existing columns of logic as the source. That's what I have in the box below. Even if these individual columns have values in them, this new logical column is not populated.

    «Resource FY13-FY17 '.»» Because of resources. " AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX1_AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX2_AMOUNT_FY13

    Let me know if there is anything wrong and how to fix it.

    Thank you for your time and your help.

    Hi ssk.

    Check this by placing the straps correctly for columns of logics.
    «Resource FY13-FY17 '.»» Because of resources. " AMOUNT_FY13 + ("Resource FY13-FY17". "" Resources ". TAX1_AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX2_AMOUNT_FY13)

    (GOLD) If it still does not, have the column created instead of checking using the existing column. You write what is necessary for your expression which is the complement your performance.

    hope helps you.

    See you soon,.
    KK

  • Create a new calculated columns

    Hi all

    I want to create a calculated column with the following formula:

    Sales/Sum (Sales) * 100

    I got an error saying:
    ERRORS:
    [14041] error in the measure for the test of the column definition. Nested aggregate measure definitions are not currently supported.

    I can of course create in response but the user like a column or a shared measure (which may be reusable).

    Concerning

    In fact, you must create two columns in the business model.

    First, create a column of the measure based on the level for the denominator. It must be a measure of the year-level.

    Then, create the measure part as a separate column. Select 'Sales' in your business model, right click and select "Wizard of calculation" in the context menu. You can create an action that compares the year-level measurement.

  • Add % sign after figures in the "New calculated item" column in the PivotTable?

    Hello

    Table view
    ----------------

    A1... Jan1... 10
    A1... jan2... 12
    A1... jan3... 13
    A2... Jan1... 20
    A2... jan2... 24
    A2... jan3... 25



    I need result like...

    Jan1... (20/10) * 100%
    jan2... (24/12) * 100%
    jan3... (25/13) * 100%

    where... % of the value for jan 1 = (value of a2 / a1 value) * 100%


    To do this, I used the PivotTable and used a new calculated item for calculating the % value right but I'm not able to add the percent sign after the value.
    Can u please help me add the % sign in the value of the result.

    Thank you

    Hmm! only useful! ;-(
    I thought it was the right answer...

  • Totals on calculated columns does not work properly

    Hi all
    IM creating column calculation in MDB something like this, {CASE WHEN SUBSTRING (DEPT of 2 for 1) = 'Y' THEN END of ANOTHER SALARY 0}. And in response using the same column to display in the report, it does correctly. When I tried to put in the Grand Total I don't see the correct totals on the report.
    Can someone help me on this please.

    Thank you

    Hi user7417334,

    How did you define this measure? Did you do in the general tab (' logical use existing columns as source ")? If so, try to specify it instead on the Data Type tab.

    (1) uncheck "use logic existing columns...". »
    2) click the Data Type tab
    3) double-click your physical source
    (4) in the new box, make sure "Display unmapped columns" is checked
    5) click on the button next to your new column name
    (6) specify your formula here
    7) click OK until you return to the window of Data Type
    8) click the aggregation
    (9) set the SUM aggregation
    (10) save RPD and recheck your report.

    Best regards

    -Joe

  • Calculated columns?

    Hi all

    I am relatively new to this looking for some tips/advice.

    Is it possible to include a calculated column in a financial statement?  For example, I have three columns A, B and C.  In column C, I want to show him the calculation of column A minus column B?  Is it still possible?

    Would be grateful for any help on this.

    Thank you very much

    Dan...

    Dan,

    The tool itself contains tons of documentation, so maybe it's a good opportunity to start having a look...

    TIMESTAMPDIFF (SQL_TSI_DAY, "The Dates of transmission". "" Real offer start date ', 'the Dates of transmission. " ("" Available Date ")

    Of course, it won't work if your "Offer of actual start Date" and "Date available" are date or timestamp columns.

    The user interface has doc for each of the functions, to explore the available functions and read the doc. Plan B start looking for a good book or training, there is no miracle solution to start with OBIEE...

  • How to map the csv (not columns) cells in the columns of table, import with sql loader

    Given «example.csv» csv file

    I want to load the data in:

    the C7 cell in column X

    cell D8 in column Y

    cell F7 in column Z

    Oracle table "exampletable" and so on. The csv file has not ordered rows and columns, so I can't just load the csv file into a new table itself. So what I'm asking is how to map to the columns in table cells load this file into Oracle (XE). Can someone point me to a tutorial?

    I know it's quite elementary, please let me know if I am sous-prescrit anything in the question.

    I ended up doing in Excel, through a very laborious process that will probably be repeated by others.

    What a pity that there is no functionality in Oracle for this kind of data import more flexible. Analysts of data often throw himself spreadsheets that look like this (or 485 of them) who must enter data one way or another.

  • the minimum value of two calculated columns column

    Hi all

    Please, help me in the following scenario.

    I have to get the data in two tables, so whatever the columns I need to put it in the select statement, but I have to do the calculations for two columns, and assigned an alias to these two calculated columns name, lets say X & Y.

    I need to show the data in column Z, the rule for this column must have a minimum value of columns X and Y.

    I have to use only a select statement and retrieve the data. Camnt make changes or creating features on the database.

    Thnaks in advance.

    Use a view inline and function LESS.

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/queries007.htm#SQLRF52357

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/functions087.htm#SQLRF00657

  • Need to create a new line in the table with the same data as the primary key, but new PK

    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    user9970447 wrote:
    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    something like

    insert into mytable values ('literal for new pk',
                                           select non-pk-1,
                                                    non-pk-2,
                                                    non-pk-n
                                           from mytable
                                           where pk-col = 'literal for existing pk')
    
  • can I insert a column of table in mysql?

    Hello

    I have a long column of table of numbers. I use labsql to connect to mysql.

    When I was a number, I change my channel number and then concatenate it with commands insert to insert my mysql table number.

    now, I want to insert a long column of numbers to mysql, but it is difficult. because for there needs to like before.

    can I insert this table in the form of lots and without recourse to a 'for' and as fast as possible?

    Best regards


  • Store the new values in the table in the new row so that the 'old' remains in the previous lines

    Hello

    I am a student of genius embedded. I did a VI where I change the values of digital controls, and it saves it as a table.
    I want to store the pair of new values in the new row of this table.
    I have attached a VI where I can change the values of numeric control, as well as the number of lines from another control. But when I change the values, all values in the output table change including values in the previous row. I want these lines to be unchanged and that new line to update.

    Need help.

    If I understand correctly, you want to always 4 models. If so a 2D table will do the trick (see annex VI), otherwise crossrulz' solution should work.

  • Problems with the addition of a new row in my table

    Im a beginner of the ADF, but I thought it would be easy to make basic CRUD stuff in the ADF. IM now even when I try to add a new line at my table.

    Seems that the primary key id is not set correctly.

    could someone help?

    ADF can do for you is triggering auto incrementing ID using an existing sequence.

    Set you this up in the entity primary key attribute: Expression as value type and enter the following information:

    (new oracle.jbo.server.SequenceImpl ("LAYOUT_SEQ",

    (object.getDBTransaction ()) .getSequenceNumber () .bigDecimalValue)

    LAYOUT_SEQ is the sequence of the DB

    Marc

  • ask a calculated column

    In a report, I used the source area to create a query that uses / creates calculated columns.
    Query:

    SELECT id, name, amount, percentage,.
    amount * percentage AS CalCost
    store
    where id = 3;

    Now, I want to create a calculated column in the query using the column "CalCost" created, similar to:

    SELECT id, name, amount, percentage,.
    amount * percentage AS CalCost.
    amount - CalCost AS difference,

    However, I get the error ORA-0094 indicating that 'CalCost' is an invalid identifier.

    Is it possible to calculate this column without raising this error?

    963510 wrote:
    However, I get the error ORA-0094 indicating that 'CalCost' is an invalid identifier.

    Is it possible to calculate this column without raising this error?

    Yes - the alias is not available as of the SELECTION list. You will have to redo the calc, i.e.:

    SELECT id, name, amount, percentage,
           amount * percentage AS CalCost,
           amount - (amount * percentage) AS Difference
    FROM   store
    WHERE  id = 3;
    

    Alternatively, you can rewrite it as follows, where the alias expected to be available, but I see no reason to:

    SELECT id, name, amount, percentage, CalCost
           amount - CalCost AS Difference
    FROM   (SELECT id, name, amount, percentage,
                   amount * percentage AS CalCost,
                   amount - (amount * percentage) AS Difference,
            FROM   store
            WHERE  id = 3
           );
    
  • R12 - equivalent column for table AP_AE_HEADERS_ALL GL_TRANSFER_RUN_ID

    Hello

    GL_TRANSFER_RUN_ID is a column present in the table of 11i AP AP_AE_HEADERS_ALL.

    In R12 the equivalent table is XLA_AE_HEADERS. Can you please let me know if there is an equivalent column for the 11i GL_TRANSFER_RUN_ID column in tables of R12?

    Thank you
    Rumi

    xla_ae_headers.accounting_batch_id is for creating accountants.
    Think of xla_ae_headers.group_id to transfer the GL. Other columns to consider for transfer of GL are gl_transfer_status_code and gl_transfer_date

    By
    VAMSi

  • Cannot change the column in Table

    Hello

    Well I have a table called T1 where I have some columns with 70 000 lines in this table.
    now I need to change a size of datatype of columns of 5.2 to 5.4, with the command below.

    SQL > alter table t1 modify column_name1 number (5.4);

    When I run this command I get the below error

    ORA-01440: column to change must be empty to reduce the precision or scale

    So what I did is based on the table in another table t2 and now deleted all t1 lines.
    Once again, I have changed now the column modified successfully to (5.4)
    But even once when I insert the backup to the top of table t2 in t1 I received this error below.

    ORA-01438: value larger than the precision specified for the column


    the table t1 column_name1 number (5.2)
    changed as column_name1 number (5.4)

    now why can't I could insert the values inside by a backup table?

    pls help.


    Concerning
    Stanlee.

    As the previous man said, you must change 7.4 like accuracy then try to insert. It's that workout.

    Iqbal

Maybe you are looking for