Obiee 11g: Including derived columns into column selector

Hi All,
The attributes appearing in the left pane while editing an answer can be included in a column selector.
But in the UI the is there any way to specify the columns (measures) which are created using the existing columns based on some formula. (Front end measures) to be included in the column selector.
Please help me..
Thanks in advance.
SwatP
Edited by: 983356 on Mar 5, 2013 8:39 PM

Hi,
Have a look at the following links:
http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
show the presentation variable on table column header
Define presentation variable in column header
hope it helps.
Regards,
Kalyan Chukkapalli
http://123obi.com

Similar Messages

  • OBIEE 11g - serious problem when rotating columns into "table prompt" area

    Hi, I'm hitting an OBIEE 11g issue that's causing huge problems on reports. Essentially, the problem is this - if I dump all the columns of a query to a table, everything looks fine. But if I rotate one of the columns into the "table prompts" area, OBIEE is actually resubmitting a WRONG query. The query format changes from:
    WITH
    SAWITH0 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
    where  ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC)
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select distinct 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH0 D1
    order by c2 ) D1 where rownum <= 65001
    and changes to:
    WITH
    SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period */*
    where  ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) ),
    SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
    where  ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC),
    SAWITH2 AS ((select distinct 0 as c1,
    D1.c1 as c2,
    cast(NULL as  DOUBLE PRECISION  ) as c3
    from
    SAWITH0 D1
    union all
    select distinct 1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH1 D1))
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    SAWITH2 D1
    order by c1, c2 ) D1 where rownum <= 65001
    I completely do not understand what is going on here. The second query has a ton of problems. First off, it's doing some type of UNION operation - no idea why it's doing that. And the real problem is that it's unioning results from a different fact table, FACT_LEDGER_period instead of FACT_LEDGER_ytd, which is completely screwing up our results.
    Long and short, I simply don't understand at all why the query should change just from rotating a column up into the table prompt area.
    Any ideas?
    Thanks,
    Scott

    Hi Scott,
    I see the query to be valid with each CTE doing the following Jobs.....
    1. I understand that this particular query is being generated to get the unique "ORG_ID_DESC " to fill up the table prompts.
    SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period /
    where ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) )
    2. This particular query is to get each prompt value and its corresponding data
    SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
    T12637.ORG_ID_DESC as c2
    from
    GL_ANALYTICS.DIM_ACCOUNT T12582,
    GL_ANALYTICS.DIM_ORG T12637,
    GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
    GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd /
    where ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
    group by T12637.ORG_ID_DESC)
    3. This particular query, I understand is to get the following data (Sample data) relating the prompts and their corresponding data
    column (c1) ;column (c2 ie ORG_ID_DESC); column(C3 ie sum(T38965.ORIGINAL_BUDGET))
    0;               ORG_ID_DESC1; NULL
    1;               ORG_ID_DESC1;10
    0;               ORG_ID_DESC2;NULL
    1;               ORG_ID_DESC2;40
    0;               ORG_ID_DESC3;NULL
    1;               ORG_ID_DESC3;29.8
    SAWITH2 AS ((select distinct 0 as c1,
    D1.c1 as c2,
    cast(NULL as DOUBLE PRECISION ) as c3
    from
    SAWITH0 D1
    union all
    select distinct 1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    SAWITH1 D1))
    4. The last select statement does nothing but selecting the needed data which later gets arranged in the format as needed by the OBIPS
    select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    SAWITH2 D1
    order by c1, c2 ) D1 where rownum <= 65001
    Now, on the table being chosen for picking up "ORG_ID_DESC" might be pretty much depending on the best source available as you know. If you would like BI Server to pick up any particular source, probably you could try the "LTS Priority Group" way.
    Hope I was clear and it helps.
    Thank you,
    Dhar

  • OBIEE 11g:  Use presentation variable in Column Heading

    Hi everyone,
    I was playing around with sample app dashboards and I saw a dashboard prompt that they converted into a column selector. I liked it and reproduced it in my own sandbox.
    I like the results, however, I would also like to change the column heading to clearly reflect which measure was selected. It's pretty clear when you are looking in the dashboard, but once you export the data, it can be confusing which measure was selected.
    That is why I would like to use a presentation variable in the column heading section. I tried to do this but it interpreted it as a literal instead of evaluating the statement.
    Is there anyway to get a variable in the column heading?
    Thanks!
    -Joe

    Hi,
    Have a look at the following links:
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    show the presentation variable on table column header
    Define presentation variable in column header
    hope it helps.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • OBIEE 11g Admin Tool aggregating measure columns

    I have a few meausre columns that are in my logical table. I would like to sum the measure columns but I can't figure out how.When I create another logical table only the physical columns would show up but no measure/calculated columns. What do I need to do?
    Thank you in advance

    start>>all programs>>OBI>>Administrator
    you will get the Admin tool
    assign points and make question as answered

  • Weird behaviour of OBIEE 11g hierarchy columns

    Hi,
    I'm facing this weird issue when i implement the OBIEE 11g new feature called hierarchy column.The issue is that the last value in the hierarchy is reporting
    Example
    Store Heir-achy
    ->Store Country
    ->Store City
    ->Store name
    ->Store Name
    ->Store name (And the level goes on and on).
    I don't know why this weird thing is happening.Any help is appreciated.
    Thanks,
    Sunny.

    Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.

  • Concatenation in obiee 11g

    hi
    I am using obiee 11g.
    in answers for a column i have used the '||' symbol to concatenate the values.It's working fine but its giving me a space in between the numbers ,
    how to remove the space?

    945475 wrote:
    hi
    I am using obiee 11g.
    in answers for a column i have used the '||' symbol to concatenate the values.It's working fine but its giving me a space in between the numbers ,
    how to remove the space?If I understand your issue correctly, you are casting number columns to char and then concatenating, but in the results you are seeing some spaces, right? If that is the case, when you are casting, make sure you define the length of the char, for example:
    Cast(NumberField as char(10)) || Cast(Varcharfield as char).

  • OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    Exclude:
    you Can exclude columns in either Table view or pivot table view by placing those columns in Excluded section but you will notice that it will appear in bi server parsed sql query.
    Not sure you were asking about runtime??
    would you please explain your question!!
    Thanks
    NK
    Edited by: DNK on May 8, 2013 9:48 PM

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

  • Displaying of charts as a separate column in table view view in obiee 11g

    Hi all,
    we have a requiremnet where i need to display charts in a separate column in a table view in OBIEE 11g. can any body help in achieving this requirement?
    Thanks in advance.
    Regards

    HI All,
    Can any body let me know how to achieve this requirement!
    charts also should be dsplayed in a column in table. I had gone through below Sparkline graph link but didn't move forward with Jquery. can any body help me in understanding this?
    http://srisnotes.com/tag/obiee-11g/.

  • 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

  • Column Formula with Error in OBIEE 11g

    Hello,
    On Oracle Business Intelligence Enterprise Edition 11g, I am trying to create an analysis. The database is MySQL. In the database, there is a field of type varchar(10). This
    field shows a date. In OBIEE 11g, when creating the analysis, in the Criteria tab, I choose this column (varchar) and edit the formula of it. The operation that I want to do is:
    YEAR(CURRENT_DATE) - SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4) where the ColumnName is the name of the column of type varchar(10)
    but I get an error: +[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <->: Syntax error [nQSError: 26012]+
    If I execute the same query directly on the MySQL database, I get the desired result without any error.
    Also, if I use the following formula, I also get an error:
    CAST((SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4)) AS INTEGER)
    So, I am asking why the first query throws an error in OBIEE 11g but not when it runs directly on the MySQL database. Also, how can I convert in OBIEE 11g a string to integer?
    Thank you in advance,
    Griselda

    Business Intelligence Foundation wrote:
    Hi
    Im getting below error in Bi11g. core application services is down.
    Error:
    [nQSError: 46066] Operation cancelled.
    [nQSError: 46067] Queue has been shut down. No more operations will be accepted.
    If anyone Know tell me.
    Thanks and Regards
    sathyaHi sathya,
    It could mean several different things. Do you know if the administrator have shut down the services? If you have access to the server, check to see if all the services are up and running.
    Thanks,
    -Amith.

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

  • How to hide % measure column Grand Total  value in Pivot View in obiee 11g?

    Hi ,
    I am facing a issue in obiee 11g .I am using a Pivot table to display the grand total of 3 metric columns eg: A , B,  C out of which B is percentage  so I need to remove the grand total value of the percentage column. We have to stick to Pivot View only. Anyone can sugest me on this?
    Thanks ,
    Shruti

    Move B to rows section or cast to char in Criteria tab by keeping the B in Measures section only.
    cast(B as char)

  • OBIEE-11g Double columns question

    Hi guys, on my pc i've installed business intelligence suite 11.1.3 and now I need support about double columns feature. In the business model I've this hierarchy
    Region -> Province -> Municipality
    where the keys for each level are represented by the name of the element, the problem is that this keys are used to map geometric shapes to enable the map views features and the Municipality values are ambiguous in their domain (could exist two municipality with the same name but different province) in the official documentation is wrote that to unique identify a shape should be used a double columns field but when I 'apply the double field feature to the hierarchy levels the drill feature doesn't work properly and I get a strange filter error (seems that the system filter the value by id on the wrong field). Somebody could help me to understand if I can define a hierarchy where the keys have a descriptor id associated ?
    Thanks a lot Regards

    I 've also come up with the same issue. I am using OBIEE 11G (11.1.1.5.0) and Oracle Mapviewer Ver11_1_1_4_B110225.
    On the RPD, My hierarchy is defined as: District -> Quarter -> Neighbourhood.
    For each hierarchy level I am using:
    District Logical Level keys:
    District Id: Primary Key
    District Name: Use for Display
    Quarter Logical Level Keys:
    Quarter Id: Primary Key
    Quarter Name: Use for Display
    Neighbourhood Logical Level Keys:
    Neighbourhood Id: Primary Key
    Neighbourhood Name: Use for Display
    I need to associate each Mapviewer theme's ID (District ID, Quarter ID, Neighbourhood ID) with a relevant BI column, because the theme names are not distinct.
    I have set the double column (Descriptor Id) feature: (District ID, Quarter ID, Neighbourhood ID) on each BI name column (BI Distict Name, BI Quarter Name, BI
    Neighbourhood Name) of the business model and associated the layer key (ID) of each Mapviewer theme with the corresponding BI name column.
    On the map view, drilling down from District to Quarter works properly, but I get the following action error while drilling down from quarter to neighbourhood:
    An error occurred while trying to generate drill down query.
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError:
    46036] Internal Assertion: Condition rowValues.size() == numColumns, file server\Query\Src\SQNavigatorAccess.cpp, line 495. (HY000)
    SQL Issued: {CALL NQSGenerateDrillDownQuery('SELECT District Name saw_0, Quarter Name saw_1, DESCRIPTOR_IDOF(District Name) saw_2, DESCRIPTOR_IDOF(Quarter Name)
    saw_3 FROM "Subject Area" WHERE DESCRIPTOR_IDOF(District) = 5','1','''5'',''31'',31','-1 -1 -1 -1 -1','0,2,3')}
    However, if I add a table view on my analysis and click on the table view's quarter link, drilling down works ok both for the table and for the map view.
    Moreover, I tried removing the double column (descriptor Id) feature from the business model while maintaining the hierarchy as described above.
    I then associated the layer key (ID) of each Mapviewer theme with the corresponding BI ID column instead of the BI name column.
    On the map view while drilling down from District to Quarter, a filter to a specific District is applied, but the associated Quarters theme is not displayed.
    Finally, if I enable the "Use for Display" checkbox for each hierarchy level's primary key on the RPD, and maintain the association between the layer key (ID) of
    each Mapviewer theme with the corresponding BI ID column, drilling down works correctly but only on the ID.
    I need drilling down to work while clicking on the each name BI column of the hierarchy while defining the association on the layer key ID of each mapviewer
    theme. Is this possible? Any ideas?

  • Filter two different columns in a Dashboard, OBIEE 11g

    Hi everyone,
    I have read many times this forum, but I this is my first post. I have a problem with OBIEE 11g and I hope you guys could help me.
    In the dashboard I have created, there is an analysis table which has the following columns:
    (1) Month - (2) Doctor's Name - (3) Num. of Appointments Month 1 - (4) Num. Appointments Month 2
    The point is that I want the users to choose in their dashboard a month to filer column (3) and a month to filter column (4), so they can have a comparative view of the number of appointments for each month. I have tried to do this with prompts, but what happened is that the prompt filtered ALL the columns, not just one of them.
    So, is there any way of filtering just one column? I mean, when in the dashboard view, not in the analysis creation view.
    Thank you in advanced! :)
    Javier
    Edited by: user13724353 on 07-jun-2011 7:30

    Hang on a minute... I think this is possible.
    Set up two dashboard prompts to populate 2 presentation variables for your first and second months.
    Once you have a presentation variable you can fix the value of column 3 and 4 using the "Filter using" syntax (check the functions list when you edit the column formula). By using Filter using you should be able to pass in the value of your presentation variable.
    Paul
    http://total-bi.com

Maybe you are looking for