Concatenating two columns in obiee 11g

Hi,
I am getting an syntax error when i concatenate two columns from the same table and i think syntax is correct.
below is the column formula:
(cast("Dim Stock Market"."Days High" as varchar))||'/'||(cast("Dim Stock Market"."Days Low" as varchar))
error:
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <)>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT (cast("Dim Stock Market"."Days High" as varchar))||'/'||(cast("Dim Stock Market"."Days Low" as varchar)) FROM "Stock Model"

got the answer.
Edited by: Rohit_L on Jan 29, 2013 4:00 AM

Similar Messages

  • Concatenate two columns in Obiee 11g

    Hi,
    I am trying to concatenate two columns from same table in OBIEE 11G , i tried all below syntax
    cast("Period"."Year" as Varchar)|| cast ("Period"." Month Name" as Varchar)
    cast("Period"."Year" as char)|| cast ("Period"." Month Name" as char)
    contact(cast("Period"."Year" as char), cast ("Period"." Month Namer" as char))
    I am getting this error as - Invalid Alias Format : Table_name.Column_name require . Plz Help me Guys
    Thanks
    Edited by: Neha on Apr 16, 2012 3:41 PM

    Column forumal example based on vanilla usage tracking RPD:
    cast("Query Time"."Year" as varchar(4)) || "Query Time"."Month"BTW: "Month Name" implies a string already so I doubt you'll need to cast it as one...
    C.

  • Stop a dimensional drill for a particular value of a column in obiee 11g

    Hi,
    I have dimensional drill been setup for Supervisor Hierarchy Table.I need to stop the dimensional drill for a particular value of the column in obiee 11g.
    Example: I have two columns
    1.Supervisor Level 1 Name
    2.Supervisor Level 2 Name
    Supervisor Level 1 Name Columns have these values.(Ram,Higher,Sam)
    Supervisor Level 2 Name Columns have these values.(Ravi,Higher,Raghul).
    If we pull Supervisor Level 1 Name Column in report which has a dimensional drill(It will navigate to Supervisor Level 2 Name).It will show
    1.Ram
    2.Higher
    3.Sam
    I should not drill on Higher value but the rest of the values(Sam and Ram will drill to Supervisor Level 2 Name) should be drillable.The same should happen for Supervisor Level 2 Name.
    Please Suggest.
    Thanks,
    Azim

    Azim,
    Don't think you can actually get this working

  • How to add two columns in OBIEE report?

    Hi to All,
    Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
    Thanks in Advance,
    Thenmozhi

    Assume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
    For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
    Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
    Let me know if you are looking for something else.
    Thanks

  • Removing drag functionality of column in OBIEE 11g

    Hi all,
    Can any one say me how to remove the draging functionality for the columns in OBIEE 11g ? It is creating an issue for me when i hide the columns in pivot and has only rows over there. It is creating one more layer on the top of the measures.
    Thanks for your help.

    Fightclub,
    Edit the Pivot view and goto Row section -> Row Properties -> Option - Uncheck the Display Heading.
    But you'll loose your columns heading of rows.
    Thanks,
    Balaa...

  • Peoplesoft Trees as Hierarchial Columns in OBIEE 11g

    Sorry for a duplicate posting. Logged in as a normal user with random number. I know how much people hate it. Logged in as myself now.
    Hi,
    I have extensively searched using Google or 11g docs but could not find a proper solution to using Peoplesoft trees in form of hierarchial columns in obiee 11g. Can the rpd of obiee 11g be designed to view the Peoplesoft tree structure( as it is in Tree manager in Pplsoft) as hierachial columns in obiee 11g? I am sure hierarchial columns as a 11g feature are not just for visual representation in tree format but also can be viewed in Answers and queried against it,am I right?
    Anybody who has worked on trees and OBIEE 11g hierarchial columns? Ahsan/Navin??
    Thanks,
    Dan

    I have not used the 11g hierarchical columns for PSoft Trees but I can think of a glaring reason NOT to do this..PERFORMANCE. If I understand correctly, 11g issues a group by and Union as you traverse this type of structure and PeopleSoft trees have a number of tables to represent the actual TREE. I cannot possibly see how this can be effective especially with a large scale BI Apps DW? This is part of the reason the trees get flattened out via the OOTB ETL adaptors for PSoft.

  • Merging two rpds in OBIEE 11g

    Hi,
    To merge two RPDs in OBIEE 11g, do I need to have both RPDs online? What are the pre requecities? Do I need to modify ini file to mention those RPDs.? Please tell me the steps involved.
    Thanks and Regards
    Santosh

    Q1. If I create a merge RPD from two independent sources, then, how does the physical layer is built?
    A1.
    Q2. Does it creates separete schema in physcial layer for tables from first source and another schema for other source?
    A2.
    Q3. If two separate schemas are built then does those schema pull data from there respective sources independently in Answer?
    A3.
    Q4. If it create combined schema, then hw is data fetched in Answer? Is there any link created by default or developer need to create a common link between two schemas?
    Hw will it fetch data from two seperate data sources during runtime?
    A4.
    Please provide some conceptual understanding for above queries.
    As far as I understand with my knowledge in OBIE, separate connection pool is required for each source when you create merged RPD since tables are from two separate DB sources even if being in the single rpd after merge. If my conceptual understanding is wrong then, guys, please help me to understand.
    Thanks
    Santosh

  • How to Hide a column in OBIEE 11g

    Hi,
    I am trying to hide a column of presantation layer table in OBIEE 11g. But it is not working.
    I am doing the follwoing.
    Open the permission tab of the column.
    Given no access to Everyone.
    Given No access the user/Application Role.
    When i go to web, the column is getting displayed in the table list. But, when i select the column and press the result button, it is not giving the result.
    It means, by doing the above steps it is restricting the data but visibility of column is already there.
    Same way it works for OBIEE 10g. Could you please let me know this feature has been removed from 11g or if it is still there then how we can achieved that.
    Thanks in Advance
    Niraj

    Hi Niraj,
    It's a bug in OBIEE 11.1.1.5.
    Bug 12352010: RESTRICTED COLUMNS SHOULD NOT SHOW IN SUBJECT AREA
    It is fixed in the version 11.1.1.6.
    Regards,
    Sandeep
    Edited by: Sandeep Saini on Mar 28, 2012 12:16 AM

  • Using CASE WHEN for Essbase column in OBIEE 11g

    Hi all,
    I have a business model in OBIEE 11g, taking the source from Essbase 11. The measures of the Essbase cube in the physical layer is flattened, and the aggregations for the measures are set to SUM.
    The Product dimension has 5 generations. In Product logical table, I created a logical column called "Product Grouping" using a simple CASE WHEN formula:
    CASE
    WHEN "TEST"."Product"."Gen5,Product" IN ('100-10', '100-20', '200-10', '300-10') THEN 'Group 1'
    WHEN "TEST"."Product"."Gen5,Product" IN ('100-30', '200-20') THEN 'Group 2'
    ELSE 'Group 3'
    END
    Problems:
    1. If I don't place this "Product Grouping" in the logical level/hierarchy, I got error in the report when I simply show Product Grouping and a measure.
    2. If I place this "Product Grouping" in the logical level/hierarchy (on the 5th level), no more error in the report when I simply show "Product Grouping" and a measure. The measure value also shows the correct SUM (group by). However, when I add "Gen1,Product" the "Product Grouping" and the measure value suddenly becomes not grouped by.
    Has anyone ever tried and encountered something like this? Any thoughts?
    Thank you very much!

    Hi Deepak, thansk for the suggestion.
    However, I can't use calculated item for this report because:
    1. incorrect result will be shown when my measures involve a formula to derive a percentage value.
    2. calculated item is not available if we do "combine requests" (or union) in 11g.
    Any thoughts anyone on how to solve this? Is this just me, or it's a bug?
    Thank you very much.

  • Unable to import table or columns in OBIEE 11G RPD

    Hi All,
    We are unable to import table into the RPD using OCI 10G/11G to import the table then the import box open but we are unable to see the tables below the schema name. When we use ODBC 3.5 and created a DSN for the database then we are able to see all the tables and import them. But the problem here is that when we are using window server 7 64 bit to install client and then importing the table ODBC is not working fine as well.
    Please note that we are using OBIEE 11G which is installed on unix box and we connect to RPD using client installed on windows server.
    Appreciate all the help in advance.
    Thanks,
    Mohit

    Hi Sayak,
    This means we need to installed Oracle client to resolve this problem. Can you please share if you have some knowledge regarding the same.
    Thanks,
    Mohit

  • Calculating YTD column in OBIEE 11g

    Hi ,
    Here is my requirement :
    I have to create a report , which shows several measure values (revenue , gross mergin etc as rows of a pivot table) against a certain period (Months , i.e. Jan , Feb ....etc as columns of a pivot table ) . Taking period prompt as presentation variable prompt . For example , If 'Jan' is selected from period dropdown list ,then only Jan values are shown . I am able to do upto this part .
    Next , I have to add one YTD column (calculated ) , which will eventually sum the values of upto selected period value , i.e if selected month is 'Mar' then March values will be shown in one column and 'Jan + Feb + Mar ' values will shown in another .
    How to achive this ?
    FYI , I am taking essbase 11.1.2.0 as datasource and using OBIEE 11.1.1.5.0 version .
    Thanks in advance.
    Edited by: 937268 on Jul 2, 2012 3:04 PM

    Hi,
    by using time series Ago function method and also by suing obiee-date-expression method you can solve it.
    YTD:
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10540/dimensions.htm#i1023744
    http://gerardnico.com/wiki/dat/obiee/function_time
    http://www.vlamis.com/blog/2011/6/17/doing-time-series-calculations-in-answers-11g.html
    OBIEE - date expression method
    http://obieedue.blogspot.com/2011/06/obiee-date-expressions-reference.html
    Thanks
    Deva

  • Last Year Inovice Total need to be calculated in a new column in OBIEE 11g

    Hi,
    I have a measure Net Invoiced Amount, and now my client is asking to get a new column in which last year's Net Invoiced Amount total needs to be calculated.
    We need to select the Dates dynamically, it is 2012, so the column should the invoiced amount total for 2011, if it is 2013 then amount should be 2012. Can we do this in RPD. If so, please tell me how.

    Hi,
    Method1:
    TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM DATE Column) * -(1) + 1,
    DATE Column))
    Note: create alias table from your fact (call it as fact table name_YTD) Join th aliases to the dimension tables exactly like how your normal fact table is joined to the aliases, except for the time dimension.
    Method 2: by using Time series functions (Ago fxn)
    Ago(<<Measure>>, <<Level>>, <<Number of Periods>>)
    Example:Ago("Human Resources"."Fact - Absence"."# Days" , "Human Resources"."Time"."Year" , 1)
    Method 3: if your using obiee11g --> from analysis itself you cand solve it
    AGO(expr, [time_level], offset)
    Thanks
    Deva

  • Pivot Table Row and Column extension OBIEE 11g

    Hi,
    I have pivot view report, I have 3 columns,
    1) User Name
    2) Date
    3) Login Count
    User Name will be row(Vertical)
    Date will be Column heading (Horizontal)
    Login Count Measures
    So I will get login Count of user wrt date.
    Now When I give Wide range of filter i.e, from 1st Jan 2010 to 31st Dec 2010.
    There is increase in row also column, when it reaches certain extent it gives error as *'Exceeded configured maximum number of allowed input records.'*
    How to change the limit? or there is any fix?
    Thanks,
    Satheesh

    Hi,
    I have also faced the same issue, i have solved by changing DefaultRowsDisplayed count in instance config file.
    <Views>
    <pivot table>
    <DefaultRowsDisplayed>75</DefaultRowsDisplayed>
    <pivot table>
    </Views>
    Paste that code (which i mentioned in my last post) in instanceconfig.xml before these tags
    </ServerInstance>
    </WebConfig>
    But remember you need to restart the presentation service once this is done....
    Thanks
    Deva

  • Filter for a Particular column in obiee 11g

    Hi,
    I have created an report having 10 measure columns and filter by month i.e., less than (particular month ) which is working perfect.Actually my requirement is to one column to be filter by equal to particular month. if is it possible kindly tell me how to do. thanks in advance!

    Hi,
    Goto Edit formula for that particular column.
    and use FILTER(measure_column USING (condition)).
    eg:
    FILTER("XXXXX"."measure_column" USING ("OBIA"."D5.Times"."Month" =particular_month ))
    Try this... This will work fine.

  • Conditional Formatting of a Direct Database Request Columns in OBIEE 11g

    Hi All,
    I need to do the conditional formatting like changing the
    column color based of some condition, but i can do to the conditional
    formatting in the normal answers in the column properties. But i want to do
    it in the rows of Direct Database Request.
    When i check the Column properties conditinal format is disabled.
    Regards
    Shanker

    Hi Shanker,
    It is a limitation, You cannot use conditional formatting in Direct Database Request
    Regards,
    Dpka

Maybe you are looking for