Drill key in a hierarchy

Hello all,
I have a question regarding the primary key in a hierarchy drill down.
Lets consider Country name,Country ID-->State Name, state ID-->city Name, City ID
Now in the level based hierarchy, I set Country ID as Primary key, Country name as a key for display. Same is the case with other levels. Name for display and ID for Primary key.
My intention is that, when I click on Country Name it has to show state name by using country id in the sql instead of country name in the where clause. Is this possible?
Is there a way to show country name without selecting it as a key?
Please let me know how OBIEE generates the query.
Thank You!!

Hi,
Primary key will be used to determine what is the leaf member of a dimension, so it'll be used when you're doing hierarchy.
Logical Primary helps OBIEE to determine the unicity of the logical table. For example, if you have 2 sources in your fact table : a detail one, and an aggregate one. Your logical primary key will map to the physical primary key of the first source. Because it represents the unicity of the logical table.
Thanks
Deva

Similar Messages

  • Isn't there remote key concept for Hierarchy lookup Tables?

    I don't see the [remote key] field in destination items.?
    I really don't intend to use this remote Key concept in syndicating back to the source system, but specifically to satisfy this operation need:
    I have a hierarchy table with two fields and both of them need to be display fields, Code & Name for Business reasons.
    So when loading in the hierarchy field at main table level, I don't have to go through this compounding effort and just map the remote key which is just the code and not the name?
    -Sudhir

    Yes, remote key is available for Hierarchy Table as well. Set remote key ON on hierarchy table.
    As per your Business requirement, you can create clone of code field and then map code to remote key and clone to Code field while initilizing hierarchy table in repository. Then while importing Main table data, if you are getting code in the source file, you need not to map code with the name of the hierarchy. if the code exists as remote key then Import Manager will automatically map code with the Hierarchy class name..
    Try this and am sure it will work and solve your problem.
    Regards,
    Shiv

  • Key Mapping in Hierarchy Table

    Hi,
         I have enabled the Key Mapping = Yes  for Hierarchy table. But when I imported the records to the Hierarchy table, I am not seeing any key mapping info for the Hierarchy table records. Any thoughts?. Key mapping does not work for Hierarchy tables?.
    Thanks
    Job.

    Hi Job
    Key mappings work fine with hierarchy table as well.What was the means of import for hierarchy table. If you have used a excel file and while connecting to Import manager which remote system you selected. If you have used MDM as remote system key mapping will be blank. we need to add the record key mappings. Select all the records in record mode for hierarchy table and edit key mappings.
    Also which mode you are ssing the records. This will not come in hierarchy mode, select record mode and check the edit key mapping functionality.
    Please award if useful.
    Regards
    Ravi

  • Display key date of hierarchy in the query

    Hello,
    we have a query that uses a hierarchy with the time depending structure. The key date of this hierarchy has been restricted with a variable and can be entered by user in the query selection screen.
    Is there any way to display this key date variable in the query result ? Otherwise the users do not see the key date they had selected before.
    Thanks in advance !
    Regards
    Igor

    Hi Chandamita,
    Thank you so much for your quick response. I'm not sure if it will fix the issue because it has the same properties for other object which we do not encounter the issue.
    Thank you!

  • Date range for key date in hierarchy

    Dear Friends,
    Is there a work around for single key date restriction for time dependent hierarchy.Bcos i can only select one key date in teh report for my hierarchy so that it will take that hierarchy which falls in this date and display the result accordingly.
    But is there a way to select the date range for key date so that more than one hierarchy can be used to display my report accrding to the time range.
    Say,i have 4 hierarchies (time dependent) like v1,v2,v3,v4 and v5 for jan 08,feb 08,mar 08,apr 08 & may 08 respectively.
    In my report,i want to display the result for the time interval say mar to May.
    So my report should diplay the result according to the 3 different hierarchies for the time period i.e.v3,v4&v5.
    How do i acheive this.
    Thanks.
    ragu

    Hi
    I think we may do with the Char with text with replecement path.
    take time char as Calmonth and set the offet value as -1 and -2 and design the report and use the hierarchies in that query.
    Am not surt it willwork but better to try with this.

  • Essbase Studio Drill-through for Recursive Hierarchy - Generation 1

    I'm using Essbase Studio 11.1.2.3 to build an ASO cube. All my hierarchies are recursive (parent-child). I would like to define a drill-through report and I understand that I have to use the Advanced Settings option to specify my intersections. Now one of my dimensions is optional for the users - they don't have to specify a member (they can leave it at the highest level - dimension name on the spreadsheet). Under 'Advanced Settings' for DT report in Studio I have to specify a Generation value of 2 or greater than 2. How do I enable drill through in cells where one of the dimension is at Gen1 ? Specifying the level number didn't work. I think if you specify Level in 'Advanced Settings', drill through is allowed only if that specified level of the dimension is chosen, if Gen 2 is specified, then drill through is allowed as long as the dimension-members specified are at or above Gen2. But what about Gen1?

    Yep, this is a limitation. I suggest you create two reports one that takes your "optional" dimension out and a second one that has it in. if they don't need the dimension, select the first report and if they need the filter then the second. I m always a little leery with recursive hierarchies and Gen 2 or 3 sine they create a list of level 0 members under the selection in the query and there are limits to the number of members in an in clause and at high levels in the hierarchy it is easy to surpass it (In Oracle it is 1000  members)

  • Computation based on the drilling of a time hierarchy

    Hi,
    I have a cube with two dimensions A, B and two measures C, D.
    B is a date and I have values for each day of year.
    I have a classic time hierarchy Year->Quarter->Month->Day for B and A has also some other hierarchy.
    The report shows A, B where the user can drill down using the hierarchies and a computation.
    The computation that I must do is: the value of C at the beggining of the period plus the sum of D in the period.
    My problem is how to get the C at the beggining of the period since I do not know at runtime how far in the time hierarchy the user has drilled down.
    When I know the grouping I can do something like
    SUM(CASE WHEN B.day = B.Calendar Year Start Date THEN C ELSE 0 END)
    or
    SUM(CASE WHEN B.day = B.Calendar Month Start Date THEN C ELSE 0 END)
    to calculate the value of C at the beginning of the period but i do not!
    I cannot use the RANK function because it needs a PARTITION BY and I do not know how far to partition... year? month? day ?
    Example data
    A B C D
    a 1/1/2008 5 6
    a 2/1/2008 4 12
    a 3/1/2008 8 4
    a 1/2/2008 11 1
    b 1/1/2008 2 7
    b 2/1/2008 7 2
    b 1/2/2008 12 31
    So, if the user selects Year I sould get as result
    a 2008 5 + sum(D in 2008 for a) (where 5 is the value of C for a at 1/1/2008 for a)
    b 2008 2 + sum(D in 2008 for b)
    If the user drills down to Month I should get
    a 01/2008 5 + sum(D in 01/2008 for a) (where 5 is the value of C for a at 1/1/2008)
    a 02/2008 11 + sum(D in 02/2008 for a) (where 11 is the value of C for a at 1/2/2008)
    b 01/2008 2 + sum(D in 01/2008 for b) (where 2 is the value of C for a at 1/1/2008)
    b 01/2008 12 + sum(D in 02/2008 for b) (where 12 is the value of C for a at 1/2/2008)
    I just started building reports with Discoverer so I might be missing something. Please help!

    Thank you for the information about this. I now have a chart that displays based on a value the user enters into a text box.
    It looks like I have to delete a chart and then add it again, this time with the WHERE clause I would like to use. For some reason or other I have had difficulty modifying an existing chart in this way.
    Thank you again.

  • Drill Down in Dimension hierarchy in 11g......

    Hi,
    I place dimension hierarchy in my report.drill down is not working for dimension hierarchy.when I Click + symbol it working fine.
    requeriment is when I click The Value it will be Drilldown.
    Any Help....
    Thanks,

    Check these links
    http://www.rittmanmead.com/2010/10/oracle-bi-ee-11g-navigation-passing-parameters-using-hierarchical-columns/
    http://prasadmadhasi.com/2011/12/15/hierarchicalnavigationinobiee11g/

  • Error when drill down with essbase hierarchy

    Hi ,
    I am displaying one bar chart with, one Ragged hierarchy dimension "Region" ( structure : total region - > India , US -> India south , US south -> chennai , California) and "revenue" (measure) .
    Sometime's the drill down is happening smoothly (region - > sub region - > city) but sometimes its throwing below error :
    Error Codes: OAMP2OPY:QIKSHNQU
    DXE compiler error. Coordinate in target list must match to*coordinate in group by list. Source name:*
    GroupbyAndCoorTableCompiler::run. XML: <sawxd:expr*xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"**xmlns:sawxd="com.siebel.analytics.web/expressiondxe/v1.1"**xmlns:sawq="com.siebel.analytics.web/querydxe/v1.1"**xsi:type="sawq:groupbyField" refCoorID="5"/>*
    FYI , I have a product prompt attached with this graph . i.e , when user selects "total product" and drilling down its
    working perfectly but when selects "network products" its throwing the mentioned error .
    OBIEE version used : 11.1.1.6.2 (Build 120604.0813 BP1 64-bit)
    essbase version used : 11.1.2.1
    Thanks
    sayak

    I have created one report using Essbase cubes in OBIEE11G and when I am archiving the same report at one local server and unarchiving it at some other server then at the other server I am facing this error.
    Any replies will indeed be helpful.

  • Issue drilling on Value Based Hierarchy

    I just wanted to post this issue in the hopes that someone else may have run across the same behavior.
    The issue I am having is that when I build Value Based (i.e. parent/child) hierarchies at some point I am losing the edibility to drill down on those hierarchies. For example I can create a cube that uses one or more value based hierarchies but when I try to build a Discoverer workbook based on that cube I am not able to drill down on any value based hierarchy. In other words the drill down icon (the little + sign or the little triangle) does not appear where they should. In fact they do not appear at all, thus making the "hierarchy" useless.
    I am hoping someone else has run across the same or similar behavior and could maybe point me towards a solution. Any feedback would be greatly appreciated.

    Thank you for your feedback. It seemed to have something to do with checking the 2 boxes to delete dimension members and delete dimension attributes in the Analytic Workspace Manager while maintaining a cube. When maintaining (i.e. reloading) a cube I had been habitually checking those two boxes. When I refrain from checking those boxes things seem to behave. Now I am ONLY checking those two boxes if and when I am maintaining a dimension. I leave them unchecked if I am maintaining a cube.

  • Weird behaviour when drilling down in time hierarchy

    Hi Experts,
    We have time hierarchy
    year--->quarter--->month--->week--->day.
    But when im drilling down from Quarter it is showing the week level and not the month level and then again if i m trying to drill down from quarter then it is showing the month.
    What can be the issue here?
    Regards

    Hi,
    just check what u have set into preferred drill path tab for Logical level quarter.
    Regards,
    Vikas
    Edited by: user7312087 on Jul 7, 2009 12:27 AM

  • Drill with the second hierarchy (parenth2)

    Hi,
    I use the drill Excel Query.
    When I select the first hierarchy (parenth1) for the dimension A, there is no problem , the system give the totals records
    But when I select the second hierarchy (parenth 2) for th dimension A, the system give the following message : there is no data to display
    Question : BPC can manage only one hierarchy  by dimension or I forget the customizing for the second hierarchy ?
    Best regards
    Bastien

    Hi,
    Thanks for you answer.
    In Set appset parameters, the entry with APPROVALORG doesnt exist
    I created a new entry with APPROVALORG and the value 'H2' but the drill is still KO.
    Can you explain 'get the values for Secondary Hirarchy too'
    Thanks by advance
    Bastien

  • Display key figure as Hierarchy

    Dear All,
    I have a requirement where I would like to display the values of a key figure as range. I have Bonus as a key fgure. User would like to see the report as below,
    Rating   Bonus        HeadCount(No of Emp)
         1        0-20%             1
         1        20-40%           3
         1        40-100%         7
         2        0-20%             4
         2        20-40%           2
         2        40-100%         1
    Does anyone have worked on such a scenario where key figure values can be displayed as range.
    Regards,
    Niraj

    As said before, you can use a calculated key figure to get the result you need.
    For example 0% - 20% would be the following calculation (Bonus >= 0) * (Bonus < 20). This will result in 1 of 0.
    Since multiple values are going to be aggregated, don't forget to set the exception aggregation to the sum of the unique value, in this case Employee. Let me know if this works out or if you need any help.
    Kind regards,
    Alex

  • Drill down on Hierarchy with Text and Key

    Hello Experts,
    I have created WebI report on top of Bex Query. I have hierarchy,  by default report will show Level1 for hierarchy and then User can drill down to lower levels, but I want to show Key for that hierarchy as well next to hierarchy.
    For Example
    Profit Center Hierarchy Level 1 (Name)                Profit Center Hierarchy Level 1(Key)
    If I drill down on Level 2 for Profit Center Hierarchy Name, Profit Center Hier with Key is not changing to Level 2, it is still showing Level 1. I want Key to change dynamically with Name.
    If I drill on Level 3 with Name then Key also should change to Level3.
    Any ideas???

    Hi Ingo,
    Thanks for your reply. If I combine two objects in one objects then I cannot use that object for drill down in my report.
    I want to drill down for both Key and Text.

  • Dynamic hierarchy-level entering dashboard & drill-down

    Hi there,
    I have a requirement to create a report which, depending on the user that opens the report, needs to start at a specific level within an organisation hierarchy. Once the user has opened the report (which will be part of a dashboard), he should be able to drill-down the organisation hierarchy from his entry-point down. I've been able to create that report but when drilling-down it doesn't quite work. No matter at which level a user opens the report, when drilling it will drill-down immediately to the lowest level of the hierarchy, skipping (= not showing) intermediate levels.
    Here are the details:
    Organization hierarchy:
    - Org_Level_0
    - Org_Level_1
    - Org_Level_2
    - Org_Level_3
    - Org_Level_4
    - Org_Level_5
    - Org_Level_6
    - Org_Level_7
    - Org_Level_8
    Using an InitBlock each user is assigned it's a session variable ENTRY_LEVEL which contains the user's organization hierarchy level (i.e. '5'). For Testuser5 the session variable contains '5'.
    I've created the report containing two columns:
    - A dimension column called 'Organization'
    - A measure column called 'Availability%'
    In the dimension column I've entered the following formula:
    CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='0' THEN DIM_ORGANISATIE." Org_Level_0"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='1' THEN DIM_ORGANISATIE." Org_Level_1"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='2' THEN DIM_ORGANISATIE." Org_Level_2"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='3' THEN DIM_ORGANISATIE." Org_Level_3"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='4' THEN DIM_ORGANISATIE." Org_Level_4"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='5' THEN DIM_ORGANISATIE." Org_Level_5"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='6' THEN DIM_ORGANISATIE." Org_Level_6"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='7' THEN DIM_ORGANISATIE." Org_Level_7"
    ELSE CASE WHEN VALUEOF(NQ_SESSION.ENTRY_LEVEL)='8' THEN DIM_ORGANISATIE." Org_Level_8"
    END END END END END END END END END
    In the Column properties/Column Format tab for the dimension column I've disabled Column Heading Interaction but I've set Value Interaction to 'Drill'.
    When opening the report as Testuser5, the Dimension column shows the correct dimension object from that user: Org_Level_5. However when then clicking on the dimensionvalue, the next dimension displayed is Org_Level_8, instead of Org_level_6.
    Any suggestion on how to obtain the desired result?
    Thanks!
    Edited by: The_Dutchman on Oct 7, 2009 5:31 PM

    Check in the RPD in the BMM in the dimension wheater all levels have a key that is set to use for drill down. It seems that only Org_Level_8 (the last level, detail) has key - use for drill down checked. This allow columns on the level to be displayed when driiling from up level to the current one. So maybe this is a reason that you get only Org_Level_8 data when driiling from any level from the case statement.
    Regards
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for

  • Songs gone from iPod, freezes computer when plugged in

    Yesterday, I plugged my 5th gen 30 gig iPod into my computer to charge. The battery had drained completely, so it came up with that "Very Low Battery" warning and didn't connect to the computer right away. This has happened before, and I was running

  • Lightroom and Photoshop Integration

    Hello Everyone, I am a beginner photographer and beginner Lightroom / Photoshop person. I use Lightroom for most of the "darkroom" type stuff with my pictures (cataloging them, minor croping, playing with tint, hue, etc).  However some things can onl

  • Room Creation fails with Exception

    Hi experts, We have created a custom room template by modifying sap_project_template_2 following the how to guide on creating room templates. we created a separate repository manager in which we have to store the room contents such as documents. We c

  • Why can't I update my Ipad 2 to ios 5

    Okay, so I have a 32 GB Ipad 2, without 3G; I just have wifi. Anyway, I have not been able to update to IOS 5.1 yet! Everytime I try to hook my Ipad up to my computer to sync(I have a Asus, 8gb RAM, Pentium Processor, Windows 7) it freezes Itunes. It

  • Problems to delete Rows

    Hi, i want to delete all rows in a table which will be automaticlly updatet in a thread. the problem is that i get somtimes the message 9>=9 or 8>=3. did somebody know what that means ?!?