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.

Tags: Business Intelligence

Similar Questions

  • 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

  • How to create a new column of two different result sets

    How to create a new result column different two sets, both the result set uses the dimensions of different date.

    I got solutions for is to apply the filter in the formula in the column it itself, based on the requirement.

  • Creating a new column with the text in the Essbase reports.

    Hi all

    I need a report to print a default text "MyText" at the beginning of each line as a new column.

    Is it possible that I can create a new text column using reports in Essbase?

    TIA,
    KRIS.

    You can if you use the mask and width. I did in the past, but it's not as simple as that. I find it much easier to do this with the jexport of Java CDF (look for it in the forum for more details). It is faster and has more flexibility that report scripts for exporting data.

  • 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

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • Add a field to a form after you have created a new column in a table

    Hello

    I searched extensively in the menus help and tutorials and maybe I missed this, but after you add a new column to a table. How do I change the form so that when the data entered into the form, it is filled in the table? Is there a tutorial or an explanation of the process somewhere?

    Thank you

    Hello

    This must be done manually, but it's simple. Create a new item of the type you want for example text item, select the list by right-clicking on the region and select Create a Page element. A wizard will start when you select the type you want. Press next and enter the name of the element. for example, P3_LAST_NAME. Press next and enter a name for the element. Press next and select the Source Type as a queried database column. Press the button create.

    It will be useful.

    ----
    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

  • How to create a calculated column in another dimension

    Hi all

    I use OBIEE 11.9 on oracle 12 c.

    I have the following two dimensions in Bussiness model,

    I want to create FEMALES TOTAL logical column in dimension F1 student Graduation which is based on the column between the sexes in the student D1 dimension. The gender column has two possible values 'F', have '. the column TOTAL WOMEN should have sex for F.

    How I do that?

    Thank you.

    Kind regards.

    Add the dimension as a join table in the LTS made-> general tab, and then in the formula in the column, use a case statement to evaluate the dimensional condition and return the column done or 0.

    KEY: Size is not an LTS on its own by the way (as your picture shows)

    Oracle BI applications example:

    For staff than for those who is marked as active employees.

    Then the column DISTRIBUTION is: CASE WHEN 'Oracle Data Warehouse'. "'"' Catalogue'."" """dbo"."" "" "Dim_W_EMPLOYMENT_D '." " W_ASG_ACTIVE_INACTIVE_CODE' = 'A' AND ' Oracle Data Warehouse. "'"' Catalogue'."" """dbo"."" "" "Dim_W_EMPLOYMENT_D '." " W_WORKER_TYPE_CODE' = 'Worker EMPLOYEE' THEN ' Oracle Data Warehouse. "'"' Catalogue'."" """dbo"."" "" "Fact_W_WRKFC_EVT_MONTH_F_Snapshot '." " END OF MEMBERSHIP"0 OTHERWISE

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

  • I have a list of files on the left side and I am trying to create a new file. Whenever I create a new file, it will in a list/topic - as creating a

    All I want to do is create a new file and do appear in my existing list of files instead of a new file under a new title.

    I am trying to create a new file and it appears in the sent column where my files for e-mail are listed. Now he goes over these files under a different title every time creating a new file.

  • create the new file using report generation express vi

    Hello

    In my application, I need to write that certain data in spreadsheet Excel. For whom I created an excel template and I used the express vi report generation Toolkit to record appropriate data in the columns of the place. I need a new file created every day by the name of the day and write the data that he rest of the day. I have problems, create the new file using this express vi. I tried to use the low level vi but not able to make properly.

    Join my code and the excel template.

    Help, please.

    Thank you!

    I suspect that your problem is illegal characters (' / ') in your path, certainly it is the case in your original vi. You need to format your path, something like this (underscore instead of a slash stroke):

  • How to create a new Excel file programmatically

    Hello!

    I'm documenting the data acquired permanently in an excel file, what I have to do is to create a new file, excel automatically when the size of the previous file exceeds a certain limit lets say 1 MB.

    I tried using the function ' create/open a file ' simple and function "Write in the spreadsheet file" to create the new excel file. I don't create a file but when I open the file, it says the file format is not what you have opened with.

    Also, when the new file is created, three new worksheet must be added programmatically with the name of the predefined spreadsheet and also the column headers for each worksheet must be added.

    I also use "Labview Report Generation Toolkit for Office."

    Kind regards

    Reeves

    @Reese

    Thank you! I would like to see the copy of the file and rename it.

    PSI has managed to create a new excel file myself and I have attached the solution in this post.

    Reeves

  • New to OAF - oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for HeaderTableEO line

    Hi I'm new to OFA. I am trying to create a master-details form based on the example given on Youtube (but using my own paintings).

    I have already defined in table colums.

    AM code is as follows:

    Public Sub CreateEmailHdrRow()

    {

    xxVmmcSendEmailDefHdrVOImpl vo = getxxVmmcSendEmailDefHdrVO1();

    String s = "Test";

    Line = vo.createRow ();

    If (!) VO.isPreparedForExecution ())

    {

    vo.setMaxFetchSize (0);

    }

    row.setAttribute ("EmailDefName", s);

    row.setNewRowState (Row.STATUS_INITIALIZED);

    }

    When I run, the error occurs at the level of line (rank rank = vo.createRow ();)

    Error message: oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for xxVmmcSendEmailDefHdrEO line.

    Any help is appreciated.

    Anjan,

    Please check that the type of the CreatedBy attribute is a number representing the id in FND_USER and not the actual text of the name of the user. Standard Oracle columns that use a number for this value not varchar.

    Kristofer Cruz

  • How to create a new object on the other list list

    Hello

    I'm trying to insert the result of a query in a list in order to put the new values based on the results of the first query: for example, I have this table which contains records:



    adfcal1.PNG


    My question is:OE to create a new list object on the other hand, if you see the picture shows my list, I want to create another list where I stock ordred values if we in line December we will put 1 in column 12 and if we April we put 1 in the 4th column and if we find in my current line November we put 1 in column 11 :

    I'm stuck in this function

    public List<VisiteCons> MyListResult() {

      
    Query query = em.createQuery("SELECT o FROM Visite o ");
      
    List<Visite> visites = query.getResultList();
      
    List<VisiteCons> result = new ArrayList<VisiteCons>();
      
    for(int row = 0 ; row < visites.size() ; row++) {

      
    int m1 = 0, m2 = 0, m3 = 0, m4 = 0, m5 = 0, m6 = 0, m7 = 0, m8 = 0, m9 = 0, m10 = 0, m11 = 0, m12 = 0;
      
    //Pour m1 january
      
    if(visites.get(row).getM1().equals("janvier")){
      m1
    = 1;
      
    }
      
    VisiteCons vc =  new VisiteCons( m1, m2, m3, m4, m5
      
    , m6, m7, m8, m9
      
    , m10, m11,m12);
      result
    .add(vc);
      
    }
      
    return  result;

    }

    VisiteCons is a constructor that I created.



    and this my entity:

    package model;

    import java.io.Serializable;

    Import javax.persistence.Column;

    Import javax.persistence.Entity;

    Import javax.persistence.Id;

    Import javax.persistence.NamedQueries;

    Import javax.persistence.NamedQuery;

    @Entity

    @NamedQueries ({@NamedQuery (name = "Visite.findAll", query = "select visit o o")})

    Visit/public class implements Serializable {}

    private public static final long serialVersionUID =-6069673717468618734 L;

    @Column (length = 4000)

    private String year;

    @Column (nullable = false, length = 100)

    customer private string;

    @Column (length = 4000)

    private String dep.

    @Column (length = 4000)

    private String State;

    @Id

    @Column (nullable = false, length = 100)

    private String idvisite;

    @Column (length = 4000)

    private String ingaff;

    @Column (length = 20)

    private String m1;

    @Column (length = 20)

    private String m10;

    @Column (length = 20)

    private String m11;

    @Column (length = 20)

    private String m12;

    @Column (length = 20)

    private String m2;

    @Column (length = 20)

    private String m3;

    @Column (length = 20)

    private String m4;

    @Column (length = 20)

    private String m5;

    @Column (length = 20)

    private String m6;

    @Column (length = 20)

    private String m7;

    @Column (length = 20)

    private String m8;

    @Column (length = 20)

    private String m9;

    @Column (length = 4000)

    private String moisvisite;

    @Column (length = 4000)

    private String nbvisites;

    @Column (length = 4000)

    private String prbvisite;

    public Visite() {}

    }

    Visit public (String year, String customer, String dep, State of, string idvisite, String ingaff, String m1,

    M10, m11 String, String m12, m2, m3, m4, m5 String String String String String, string m6, m7 of the chain,

    String m8, m9 String, String moisvisite, String nbvisites, String prbvisite) {}

    This.Annee = year;

    This.client = client;

    This.DEP = dep;

    This.Etat = State;

    This.idvisite = idvisite;

    This.ingaff = ingaff;

    This.M1 = m1;

    This.M10 = m10;

    This.M11 = m11;

    This.M12 = m12;

    This.M2 = m2;

    This.M3 = m3;

    This.M4 = m4;

    This.M5 = m5;

    This.M6 = m6;

    This.M7 = m7;

    This.M8 = m8;

    This.M9 = m9;

    This.moisvisite = moisvisite;

    This.nbvisites = nbvisites;

    This.prbvisite = prbvisite;

    }

    public String {} year

    return year;

    }

    {} public void Name\backup (String year)

    This.Annee = year;

    }

    public String getClient() {}

    customer feedback;

    }

    {} public void setClient (string customer)

    This.client = client;

    }

    public String getDep() {}

    return the dep;

    }

    {} public void setDep (String dep)

    This.DEP = dep;

    }

    public String getEtat() {}

    return status;

    }

    {} public void setEtat (String State)

    This.Etat = State;

    }

    public String getIdvisite() {}

    Return idvisite;

    }

    {} public void setIdvisite (String idvisite)

    This.idvisite = idvisite;

    }

    public String getIngaff() {}

    Return ingaff;

    }

    {} public void setIngaff (String ingaff)

    This.ingaff = ingaff;

    }

    public String getM1() {}

    return m1;

    }

    public void setM1 (String m1) {}

    This.M1 = m1;

    }

    public String getM10() {}

    return m10;

    }

    public void setM10 (String m10) {}

    This.M10 = m10;

    }

    public String getM11() {}

    return the m11;

    }

    public void setM11 (String m11) {}

    This.M11 = m11;

    }

    public String getM12() {}

    return m12;

    }

    public void setM12 (String m12) {}

    This.M12 = m12;

    }

    public String getM2() {}

    return m2;

    }

    public void setM2 (String m2) {}

    This.M2 = m2;

    }

    public String getM3() {}

    return m3;

    }

    public void setM3 (String m3) {}

    This.M3 = m3;

    }

    public String getM4() {}

    Return to m4;

    }

    public void setM4 (String m4) {}

    This.M4 = m4;

    }

    public String getM5() {}

    return m5;

    }

    public void setM5 (String m5) {}

    This.M5 = m5;

    }

    public String getM6() {}

    return of m6;

    }

    public void setM6 (String m6) {}

    This.M6 = m6;

    }

    public String getM7() {}

    return m7;

    }

    public void setM7 (String m7) {}

    This.M7 = m7;

    }

    public String getM8() {}

    back m8;

    }

    public void setM8 (String m8) {}

    This.M8 = m8;

    }

    public String getM9() {}

    return m9;

    }

    public void setM9 (String m9) {}

    This.M9 = m9;

    }

    public String getMoisvisite() {}

    Return moisvisite;

    }

    {} public void setMoisvisite (String moisvisite)

    This.moisvisite = moisvisite;

    }

    public String getNbvisites() {}

    Return nbvisites;

    }

    {} public void setNbvisites (String nbvisites)

    This.nbvisites = nbvisites;

    }

    public String getPrbvisite() {}

    Return prbvisite;

    }

    {} public void setPrbvisite (String prbvisite)

    This.prbvisite = prbvisite;

    }

    }

    You can create a view in the db which reads the data from the table and display it in a different way. Then you use the view to get the data in the format and display it in the user interface

    Sample:

    -create a test line

    Select 1 id, m1 'sep', 'mar' m2, m3 'Feb' from dual;

    -output:

    ID: M1 M2 M3

    ---------- --- --- ---

    1 sep mar Feb

    -which means that your table has a row with Id = 1 nd three visits (MS, mar and Feb).  Now give us a different look from these data using the select statement

    SELECT id,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jan") > 0 then 'X' other ' ' end) jan.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "February") > 0 then 'X' other ' ' end) Feb.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "mar") > 0 then 'X' other ' ' end) mar.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), ("apr") > 0 then 'X' other ' ' end) Apr.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), 'can') > 0 then 'X' other ' ' end) may,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jun") > 0 then 'X' other ' ' end) June,.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "Jun") > 0 then 'X' other ' ' end) Jul.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "August") > 0 then 'X' other ' ' end) aug.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "MS") > 0 then 'X' else ' ' end) Ms.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), 'OCTS') > 0 then 'X' other ' ' end) oct.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "nov") > 0 then 'X' other ' ' end) nov.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "dec") > 0 then 'X' other ' ' end) dec

    from (select 1 id, m1 'sep', 'mar' m2, m3 "feb" double);

    -output

    ID J F M A M J J A S O N D

    ---------- - - - - - - - - - - - -

    1 X X X

    or tabular

    You can create a similar sql statement (and there are better ways to do this, but I'm not the whiz sql) and use it to create a database from this view.

    I don't understand what you mean by

    .. and is there a solution of programmatly

    Timo

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

Maybe you are looking for