Rename columns in Presentation layer

Hi Experts,
I Have one BMM layer table with 2 groups columns like
BMM Table
Sales
Revenue
Sum
Sales_ B Group
Revenue_ B Group
Sum_ B Group
Now I want to show these columns in two tables i.e. A table and B table with same column names in presentation layer as below:
Presentation A table Presentation B table
Sales Sales
Revenue Revenue
Sum                     Sum          
In BMM layer it should be Sales_ B Group but in presentation table it should show as Sales as vice verse for other 2 columns for B group columns
If I rename Sales_ B Group as Sales in BMM layer it won’t accept because already sales column is there my requirement is in BMM layer in should as Sales_ B Group but in presentation layer the same column it should show as Sales .
Regards,
Rafi
Edited by: Rafi.BI on Jan 31, 2013 11:28 PM

Hi Rafi,
Can you right click on your presenatation layer and create a new presentation table (EG: Table A) -- and then move the columns from bmm layer and rename them as per your req.
Now right click again.. create one more Pres. table (EG: Table B) -- and then move the columns from bmm simply drag and drop and rename as per your req.
Thank you.

Similar Messages

  • Rename columns in Presentaion Layer

    Hi,
    I need to change the column names in the Presentaion Layer. I need only the beginning of the word to be uppercase. Do I have to go to BMM layer and use the rename wizard and get all the columns again to presentation layer. We have a lot of columns so manually doing it would be very time consuming. I am trying to do in Presenation Layer itself using Rename wizard but somehow the 'next' field is not highlighted to go to the next step. Any suggestions? Also if I change any column name in presentation layer manually do I also have to chnage the name in BMM layer as well.

    Hi,
    Keeping the column names consistent in BMM and presntation layer is best suggested as diffrent names in both the layers can lead to confusion .As Aliastair suggested if you rename in presentation layer then it will create aliases to Old names,If someone delete that alias then you will get view display error in report.So follow a simple approach and keep names consistent in both the layesr unless and until its very urgent to rename columns in presentation layer.
    Thanks
    Sandeep
    Edited by: Sandeep Saini on 23-Jul-2010 08:34

  • Merging  Patch,after that not able to see column in Presentation layer

    Hi,
    I am using rpd 11.1.1.5.0 and created patch done for modifications,after merging to original repository not able to see new derived columns in Presentation layer,able to see in BMM and Physical layer.
    Little bit urgent as client need to see reports.
    Thanks
    Karthik

    Thank you.... so much.
    Solution: clear preferences in home library ~/Library
    Preferences> com.apple.Safari.plist

  • Hiding columns in Presentation Layer, but still accessible in a report.

    Hi BI Devs,
    I have a question on how to hide certain columns in the presenation layer but still make them available in a dashboard/report.
    We have 3 sections in our Presenatation Layer...section_a, section_b, section_c. We have two groups created, group_max and group_lite. Group_max will have access to all the sections in the presentation layer but group_lite will only have access to section_a and section_b
    We have a report in a dashboard (lets call it full_dashboard) that contains columns from section_a, section_b and section_c. We want all users (group_max and group_lite) to have access to the report, run the report and return data.
    Our requirement is that the group_lite will not have access to the section_c in "Answers".
    When we set the permissions in the RPD for the different sections, the permissions work correctly in hiding the section_c from group_lite, but when they run the report full_dashboard, the report errors out for group_lite users.
    Is there a way to grant access to the group_lite users so that they can run full_dashboard but still deny them access to the columns in Answers?

    Here is my thinking about duplicationg the section_c
    1. If i duplicate section_c, it will still be visible to group_lite in the presenation layer.
    2. If i duplicate section_c, i will have to change the dashboard (a very complex one too) to point to the duplicated section. How will I be able to hide the duplicated section?
    I am just not sure how to hide section_c from the group_lite users and still have the reports in the dashboard access the columns, without having to change the report.
    Edited by: empyre on Mar 16, 2011 8:21 AM

  • Select 1 column in Presentation Layer, but display 2

    Is it possible to have a column in the presentation layer as a combination of two columns? Something like a dimensional key - but so that it doesn't come like 2004-1 (year+qtr), but like 2004 / 1 (2 columns) - thanks

    Like this...
    SQL> ed
    Wrote file afiedt.buf
      1  select max(decode(rn, 1, empno)) as emp1
      2        ,max(decode(rn, 2, empno)) as emp2
      3        ,max(decode(rn, 3, empno)) as emp3
      4        ,max(decode(rn, 4, empno)) as emp4
      5        ,max(decode(rn, 5, empno)) as emp5
      6        ,max(decode(rn, 6, empno)) as emp6
      7        ,max(decode(rn, 7, empno)) as emp7
      8        ,max(decode(rn, 8, empno)) as emp8
      9        ,max(decode(rn, 9, empno)) as emp9
    10        ,max(decode(rn, 10, empno)) as emp10
    11        ,max(decode(rn, 11, empno)) as emp11
    12        ,max(decode(rn, 12, empno)) as emp12
    13        ,max(decode(rn, 13, empno)) as emp13
    14        ,max(decode(rn, 14, empno)) as emp14
    15        ,max(decode(rn, 15, empno)) as emp15
    16        ,max(decode(rn, 16, empno)) as emp16
    17        ,max(decode(rn, 17, empno)) as emp17
    18        ,max(decode(rn, 18, empno)) as emp18
    19        ,max(decode(rn, 19, empno)) as emp19
    20        ,max(decode(rn, 20, empno)) as emp20
    21  from (
    22        select empno, row_number() over (order by empno) as rn from emp
    23*      )
    SQL> /
          EMP1       EMP2       EMP3       EMP4       EMP5       EMP6       EMP7       EMP8       EMP9   EMP10         EMP11      EMP12      EMP13      EMP14      EMP15      EMP16      EMP17      EMP18      EMP19      EMP20
          7369       7499       7521       7566       7654       7698       7782       7788       7839    7844          7876       7900       7902       7934
    SQL>

  • Presentation Layer Property

    Hi experts,
    In administratrion tool for obiee 10g, there are some property,such as export logical keys ,impilict fact column, in presentation layer. Can anybody tell me what it is and how to use it?
    Thank you.

    Refer to documentation, you can find the following on pg 300, E10540-02.
    Exporting Logical Keys in the Subject Area
    For each subject area in the Presentation layer, you can decide whether to export any logical keys as key columns to tools that access it. Exporting logical keys is irrelevant to users of Oracle BI Presentation Services, but it may be advantageous for some query and reporting tools. If you decide to export logical keys, make sure that the logical key columns exist in the table folders. In this situation, your business model should use logical key/foreign key joins. When you select the option Export logical keys in the Subject Area dialog, any columns in the Presentation layer that are key columns in the Business Model and Mapping layer are listed as key columns to any ODBC client. This is the default selection. In most situations, this option should be selected.
    Setting an Implicit Fact Column in the Subject Area
    For each subject area in the Presentation layer, you can set an implicit fact column. The implicit fact column is added to a query when it contains columns from two or more dimension tables and no measures. The column is not visible in the results. It is used to specify a default join path between dimension tables when there are several possible alternatives or contexts.

  • Presentation Layer column name change effects on existing reports ?

    Hello Gurus,
    I have one requirement where user are not sure about the column names in Presentation Layer.
    so they want us to create the reports and once the reports are delivered they will give us the column name as per their requirement.
    now i read couple of blogs related to this, that does it affects the exiting reports?
    in couple of blogs they says that i won't. becaus BI server creates the alias for the old name and will reflects it wherever it's used in reports..
    So can anyone tell me where this alias name has been stored in OBIEE?
    and is there any precaution that needs to be done while doing this beacuse we are expecting to create around 40-50 reports and changing the column name after changing the presentation layer name change will increase lots of work..
    Thanking You..

    I've confirmed it on a 10g environment that when you rename the column in the RPD the existing reports reflect the change.
    What I was referring to in the statement you highlight is that a column name can be changed when being used as the definition of a report. If somebody specifies an abbreviation of the current name to fit it in a table or chart then it will not be updated from a name change in the RPD.
    So long as you build reports using the name provided by the RPD and none of the developers take the liberty of renaming it in the column properties of the request/analyses the single rename should take effect through all the reports you build.
    You can also manage the column name by renaming it in a report and using the save as system wide default. But the way you intend to do it would be the best method.
    Edited by: James - Projected on 25-May-2012 14:07

  • How can I import db column comments into the OBIEE presentation layer?

    We have a very well designed data mart - it is a star schema and all the fact and dimension table columns have comments in them with their definition and use. There is virtually no change required in the physical or business layer. The only modifications done in the presentation layer was to hide the Pk/Fk columns.
    Is there a way to import these column comments into the presentation layer so that the business user can see this comment in the tool tip while hovering over the presentation column in Answers?
    Thanks for your help!

    Hi,
    I assume the comments you mean are stored in user_tab_comments and user_col_comments.
    When this is the case you should do the following:
    Go to your subject area in your presentation layer. For now I assume the name of this subject area is "Subject Area".
    Then right click on this subject area and check "Externalize Descriptions".
    Then create an initialization block (session) using this query:
    (select 'CD_Subject_Area_' || table_name, comments from user_tab_comments)
    union all
    (select 'CD_Subject_Area_' || table_name || '_' || column_name, comments from user_col_comments)
    Use "Row-wise initialization" for this initialization block.
    Two comments:
    1) Like I said, I assume Subject Area is the name of your subject area in your presentation layer, so I guess you need to replace this with the name of your Subject Area.
    But be sure that you replace each space ' ' with an underscore '_'.
    2) Maybe you need to refine above querys by filtering on table_name for those table_names you are using.
    Good luck.
    Regards,
    Stijn

  • Issue adding a new column to OBIEE presentation layer

    Hi,
    I am pretty new to OBIEE so this may be a silly question. I am facing some problems trying to add a new column from a physical table the OBIEE presentation layer.
    Below are the steps I followed:
    Task: add a product category set to the presentation layer.
    Steps:
    1) First verified that the product category set is being populated in the W_PROD_CAT_DH table in the datawarehouse. this was done by running the following sql
    SELECT W_PROD_CAT_DH.TOP_LVL_PRODCAT_NAME
    FROM W_PROD_CAT_DH, W_INVENTORY_PRODUCT_D
    WHERE W_PROD_CAT_DH.integration_id = W_INVENTORY_PRODUCT_D.INV_PROD_CAT1
    This sql gave the right category value.
    2) created a "Alias" of the table W_PROD_CAT_DH in the OBIEE Admin tool physical layer. (done by right clicking W_PROD_CAT_DH >>New Object>> Alias)
    3) named the Alias of W_PROD_CAT_DH as "Dim_W_INV_MKT_CAT" and created a key of the alias named "integration id" on the column "integration_id"
    4) opened the pre-existing alias of W_INVENTORY_PRODUCT_D the alias was called "Dim_W_INVENTORY_PRODUCT_D" and added a key called "MKT_CAT" on the column "INV_PROD_CAT1" in this alias (Dim_W_INVENTORY_PRODUCT_D of the table W_INVENTORY_PRODUCT_D)
    5) in the alias of the "W_INVENTORY_PRODUCT_D" called "Dim_W_INVENTORY_PRODUCT_D" added a "Foreign Keys" the expression of the key is following: ("Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INV_MKT_CAT"."INTEGRATION_ID" = "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INVENTORY_PRODUCT_D"."INV_PROD_CAT1")
    Logical layer
    6) Opened the existing logical folder called "Dim - Inventory Product" and clicked on "Sources" tab then double clicked the source "Dim_W_INVENTORY_PRODUCT_D" and added a new mapping under "Map to these tables" under "General" tab. The column that was added was the physical alias "Dim_W_INV_MKT_CAT"
    7) added a new column mapping to the same logical table source (Dim_W_Inventory_PRODUCT_D) this new mapping was a column from the alias "Dim_W_INV_MKT_CAT" (column name "TOP_LVL_PRODCAT_NAME")
    Presentation Layer
    8) dragged the newly added column (TOP_LVL_PRODCAT_NAME) from the logical layer "Dim - Inventory Product" to the presentation layer "Product" folder.
    ISSUE
    after adding everything and checking global consistency and save and checking-in my work when i login from the front end presentation services. I see the newly added column is showing under the "Product" folder. on dragging the column by itself to the Ad-Hoc analysis I can see the different values of the category. On adding a second column from the same logical folder (Dim - Inventory Product in logical layer) i still see the right product name and corresponding category. BUT when I drag any other column from any other folder (such as "Day" from "Time" or any fact values) the result does not fetch any data (message: The specified criteria didn't result in any data.)
    I am not sure if I am missing any step but I know I am mapping the new table alias to the inventory_product_d since i see right results on creating analysis of columns in those two folders. but no other folders give me any data.
    I also know that the logical folder "Dim - Inventory Product" is joined with other tables as I can see results when i do not add the newly added catagory column but other folder and other columns of "Dim - Inventory Product"
    I would really appreciate any insight to this very much. we are using OBIEE 11.1.1.6 with the Oracle 11.5.10 Adaptor (SDE_ORA11510_Adopter)
    I will try to upload some screenshots if needed but presently not sure if its something really simple.

    Hi Prassu,
    thanks for the responce. and Apologies for the delay in getting back to you.
    1) 1.First of all set the logging level to 3 in the admin tool save it.
    You can get the SQL query from here
    settings(Answers right top)-->Administration-->manage sessions-->view log
    When I try to do this I get the following message. and no log files.
    Error
         Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3790667783>: Syntax error [nQSError: 26012] . (HY000)

  • Rename presentation layer catalog

    Hi,
    I have renamed the presentation layer catalog in RPD. When I am seeing the dashboard all the reports are getting displayed but when I see the individual reports I am getting :"Either you do not have permission to use the subject area X within Answers, or the subject area does not exist" on the left side of the report.Can anyone tell me how can we rename the presentation layer catalog with individual reports not showing the above statement?
    Thanks and Regards,     
    Amrit

    Option 1 :
    use the rename wizard ( tols-> utility-> rename wizard) to change the name of presentation catalog
    option 2 :
    go to answers of that report->go to advance tab
    under
    Enter the name of the Subject Area : write the new subject area

  • Columns are not displaying in a Dimension in the presentation layer

    Hi All,
    I have a Dimension in one of the subject area which has 3 columns. It was working fine but yesterday, we have an issue about this. These columns are not displaying anymore in the dimension.
    I have checked in the Repository and from the Presentation services for the permissions and they look fine. Is there anything else am missing. If so, where I need to check.
    Kindly help me on this.
    Thanks,
    Imtiaz.

    Hi,
    Check three things.
    1. Try to login Admin user and check whether those columns are present or not.
    2. Try to login different browser.
    3. Cross check privileges for login user (what role has assigned ).
    Note: Clear the browser cache and all Bi server cache and check.
    Hope this help's
    Thanks,
    Satya Ranki redddy

  • Presentation Layer - Custom Display Name

    We use Oracle Datamarts as Data Source thus in our Repository a lot of information is just routed through. Of course we configured the joins in the physical layer and added some hierarchies, joins and calculated measures to the business model.
    The question is now where to set the right column names which the end users will see (translation from technical column names to business column names). Normally I read that the naming should be done in the business model and then can be copied to the presentation model.
    Is there any reason why not to leave alle the technical column names through to the presentation model and just to do the naming with the Custom Display Names? This had the advantage that we could rename the column display names and the reports never had to be modified.
    Thank you for your thoughts and input

    The main reason could be this:
    If the attribute has been used in multiple subject areas, there is no need to go each subject areas and rename them, instead a one time rename in Business Modeling layer will do the work. Eg. Suppose there is a common dimension, say, Supplier/Customer/Time which are used in multiple subject areas. Renaming in Business modeling layer will be easier than going to each subject areas and rename them in presentation.
    Hope this helps..
    Thanks,
    Anilesh

  • Alias in Presentation Layer

    Hi Experts
    I want to know about aliases in presentation layer ..and how to use them..
    Regards
    f

    Hi,
    Aliases at the presentaiton layer simply mean that a table or columns can be referenced by more than one name. In the past I have mainly used them when I have changed the name of a presentaiton table or column and wanted old reports which referenced the old column name to continue working without changes.
    So for example.
    Logical table: "Table1"
    Logical column: "Column1
    Due to a change the column is renamed to "Column2". If you then include an alias for this column called "Column1" then any reports built which reference "Column1" will still work even though the column name has been changed, because the alias still references it.
    Regards,
    Matt

  • I am trying to use java  file as Model layer and jsf as presentation layer

    I am trying to use java file as Model layer and jsf as presentation layer and need some help
    I successfully get the value of h:outputText from java file by doing simple binding operation but I am facing problems when I am trying to fill h:dataTable
    I create java file
    package oracle.model;
    import java.sql.;*
    import java.util.;*
    *public class TableBean {*
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    *public List getperInfoAll() {*
    perInfoAll.add(0,new perInfo("name","username","blablabla"));
    return perInfoAll;
    *public class perInfo {*
    String uname;
    String firstName;
    String lastName;
    *public perInfo(String firstName,String lastName,String uname) {*
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    *public String getUname() {*
    return uname;
    *public String getFirstName() {*
    return firstName;
    *public String getLastName() {*
    return lastName;
    right click on the file and choose 'create data control'
    then i wrote the jsf file:
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<f:view>*
    *<h:dataTable id="dt1" value="#{bindings.perInfoAll}"*
    var="item" bgcolor="#F1F1F1" border="10"
    cellpadding="5" cellspacing="3" rows="4" width="50%"
    dir="LTR" frame="hsides" rules="all"
    *>*
    *<f:facet name="header">*
    *<h:outputText value="This is 'dataTable' demo" id="ot6"/>*
    *</f:facet>*
    *<h:column id="c2">*
    *<f:facet name="header">*
    *<h:outputText value="First Name" id="ot1"/>*
    *</f:facet>*
    *<h:outputText style="" value="#{item.firstName}"*
    id="ot2"/>
    *</h:column>*
    *<h:column id="c4">*
    *<f:facet name="header">*
    *<h:outputText value="Last Name" id="ot9"/>*
    *</f:facet>*
    *<h:outputText value="#{item.lastName}" id="ot8"/>*
    *</h:column>*
    *<h:column id="c3">*
    *<f:facet name="header">*
    *<h:outputText value="Username" id="ot7"/>*
    *</f:facet>*
    *<h:outputText value="#{item.uname}" id="ot4"/>*
    *</h:column>*
    *<f:facet name="footer">*
    *<h:outputText value="The End" id="ot3"/>*
    *</f:facet>*
    *</h:dataTable>*
    *</center>*
    *</af:document>*
    *</f:view>*
    but nothing is appear in my table
    I know that there is something wrong in calling the binding object
    I need help pls and where can i find some help to deal with another tag types
    thanks

    i dragged the "perInfoAll" from my "Data Controls" and choosed adf table (even I know that new table with adf tags well be generated and i want table with jsf tags)
    and this code is generated
    *<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"*
    *"http://www.w3.org/TR/html4/loose.dtd">*
    *<%@ page contentType="text/html;charset=UTF-8"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>*
    *<f:view>*
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1">*
    *<af:table value="#{bindings.perInfoAll1.collectionModel}" var="row"*
    *rows="#{bindings.perInfoAll1.rangeSize}"*
    *emptyText="#{bindings.perInfoAll1.viewable ? 'No data to display.' : 'Access Denied.'}"*
    *fetchSize="#{bindings.perInfoAll1.rangeSize}"*
    *rowBandingInterval="0"*
    *selectionListener="#{bindings.perInfoAll1.collectionModel.makeCurrent}"*
    *rowSelection="multiple" id="t1">*
    *<af:column sortProperty="uname" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.uname.label}"*
    *id="c1">*
    *<af:inputText value="#{row.bindings.uname.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.uname.label}"*
    *required="#{bindings.perInfoAll1.hints.uname.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.uname.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.uname.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.uname.tooltip}"*
    *id="it3">*
    *<f:validator binding="#{row.bindings.uname.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="firstName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.firstName.label}"*
    *id="c2">*
    *<af:inputText value="#{row.bindings.firstName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.firstName.label}"*
    *required="#{bindings.perInfoAll1.hints.firstName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.firstName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.firstName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.firstName.tooltip}"*
    *id="it2">*
    *<f:validator binding="#{row.bindings.firstName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="lastName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.lastName.label}"*
    *id="c3">*
    *<af:inputText value="#{row.bindings.lastName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.lastName.label}"*
    *required="#{bindings.perInfoAll1.hints.lastName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.lastName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.lastName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.lastName.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{row.bindings.lastName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *</af:table>*
    *</af:form>*
    *</af:document>*
    *</f:view>*
    but when run it i see the following errors
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    :(

  • OBIEE presentation layer agregate values are not acurate

    hi,
    i have a simple BMM where for the given fact year wise i want to show summation of values and %.
    here is the query generated by the OBIEE
    WITH
    SAWITH0 AS (select sum(T5779.SLA_NOT_MET) as c1,
    sum(T5779.SLA_MET) as c2,
    count(T5779.APP_ID) as c3,
    T5801.CALENDAR_YEAR as c4,
    T5801.TIME_ID as c5
    from
    SQA_CAS_TIMES T5801,
    SQA_CAS_FCT T5779
    where ( T5779.TIME_ID = T5801.TIME_ID )
    group by T5801.TIME_ID, T5801.CALENDAR_YEAR),
    SAWITH1 AS (select distinct SAWITH0.c4 as c1,
    SAWITH0.c3 as c2,
    SAWITH0.c2 as c3,
    SAWITH0.c1 as c4,
    SAWITH0.c2 / nullif( SAWITH0.c3, 0) * 100 as c5,
    SAWITH0.c1 / nullif( SAWITH0.c3, 0) * 100 as c6,
    SAWITH0.c5 as c7
    from
    SAWITH0)
    select SAWITH1.c1 as c1,
    SAWITH1.c2 as c2,
    SAWITH1.c3 as c3,
    SAWITH1.c4 as c4,
    SAWITH1.c5 as c5,
    SAWITH1.c6 as c6
    from
    SAWITH1
    order by c1
    the results are comming wrong when i am doing piviot in presentation layer but this query when i check if i remove the group by time_id then the results are correct
    WITH
    SAWITH0 AS (select sum(T5779.SLA_NOT_MET) as c1,
    sum(T5779.SLA_MET) as c2,
    count(T5779.APP_ID) as c3,
    T5801.CALENDAR_YEAR as c4
    from
    SQA_CAS_TIMES T5801,
    SQA_CAS_FCT T5779
    where ( T5779.TIME_ID = T5801.TIME_ID )
    group by T5801.CALENDAR_YEAR),
    SAWITH1 AS (select distinct SAWITH0.c4 as c1,
    SAWITH0.c3 as c2,
    SAWITH0.c2 as c3,
    SAWITH0.c1 as c4,
    SAWITH0.c2 / nullif( SAWITH0.c3, 0) * 100 as c5,
    SAWITH0.c1 / nullif( SAWITH0.c3, 0) * 100 as c6
    from
    SAWITH0)
    select SAWITH1.c1 as c1,
    SAWITH1.c2 as c2,
    SAWITH1.c3 as c3,
    SAWITH1.c4 as c4,
    SAWITH1.c5 as c5,
    SAWITH1.c6 as c6
    from
    SAWITH1
    order by c1
    The above one is without time_id in group by.
    can some one suggest as to what is wrong with the pivot for the above query.

    why are u bringing TIME_ID column in the first Query... just remove it from the Criteria TAB.

Maybe you are looking for

  • DBAdapter Is Not Working On 10.1.3.3

    Hi, I'm using soa suite 10.1.3.3 (Linux Server) I have defined a data base connection(10g) and I'm calling from a DBAdapter to the DB. I have all the mcf properties set to have the correct values of the DB.(on my client it works, same installation sa

  • Can I use two Apple IDs for my purchases

    Say spouses have separate AppleID's for purchases, can they both be used on a single user account Mac with iTunes? Will iTunes handle two distinct accounts? I assume it's not an issue for two iPhones as they're separate. I guess the only other option

  • Backing up a STABLE windows install

    I have gotten my xp stable and would like to know whats the best way to back up this partition or the OS? I would like to be able, if need be or if bootcamp gets currpted to go back to my nice and stable install thats I have done all the updates for.

  • 1099 Misc IRS file is missing house number information

    Hi Team , After implementing the SAP Note 1666672 for US legal changes 2011, In 1099 Misc IRS file  house number is missing . Could you please help on this .. Thank You Jagadeshwar.G 91-9676486129

  • Need info about the IOS for 4503

    Hi There, we are running a cisco 4503 with bootflash:cat4000-i5s-mz.122-20.EW4.bin  IOS on that, we are informed to upgrade the IOS on that. However, no info on which IOS has to be deployed on that. Hence, can some one please suggest the latest and u